diff --git a/Dockerfile b/Dockerfile index cadc485..9aa4dfe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM node:15 +FROM node:16 WORKDIR "/app" COPY package*.json ./ -COPY . /app RUN npm install --production +COPY . /app EXPOSE 3300 USER node ENTRYPOINT ["bash", "-c"] diff --git a/configure-script.js b/configure-script.js index 24d6b79..3b902c5 100644 --- a/configure-script.js +++ b/configure-script.js @@ -108,7 +108,7 @@ networks: `; const dockerfile = ` -FROM node:15 +FROM node:16 WORKDIR "/app" COPY package*.json ./ RUN npm install --production diff --git a/package.json b/package.json index 0812b24..e4b7f32 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chat-server", - "version": "1.2.1", + "version": "1.2.2", "description": "An API centric chat server. Uses Sequelize and mariaDB by default.", "main": "server/server.js", "scripts": {