Bumped node to version 16 LTS

This commit is contained in:
2021-11-17 04:43:11 +00:00
parent 69aff6ec32
commit 8c053e75aa
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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"]
+1 -1
View File
@@ -108,7 +108,7 @@ networks:
`;
const dockerfile = `
FROM node:15
FROM node:16
WORKDIR "/app"
COPY package*.json ./
RUN npm install --production
+1 -1
View File
@@ -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": {