Docker added
This commit is contained in:
parent
157c0e13a7
commit
72d9179ddd
2 changed files with 2 additions and 4 deletions
|
|
@ -1,8 +1,6 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM node:current-slim
|
||||
ENV NODE_ENV=production
|
||||
WORKDIR /app-message
|
||||
COPY ["package.json", "package-lock.json*", "./"]
|
||||
RUN npm install --production
|
||||
RUN npm install --NODE_ENV
|
||||
COPY . .
|
||||
CMD [ "node", "server.js" ]
|
||||
Reference in a new issue