diff --git a/DOCKERFILE b/DOCKERFILE index 395b4d8..329cf27 100644 --- a/DOCKERFILE +++ b/DOCKERFILE @@ -1,4 +1,4 @@ -FROM node:latest +FROM node:18 WORKDIR /app diff --git a/libs/mysql.js b/libs/mysql.js index e1d9624..a69f65f 100644 --- a/libs/mysql.js +++ b/libs/mysql.js @@ -1,4 +1,4 @@ -import * as mysql from 'mysql'; +const mysql = require("mysql"); export function getConnection() { return mysql.createConnection({