Test of Dockerfile (not verified)
This commit is contained in:
parent
01619185fb
commit
6984c550fb
5 changed files with 114 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM node:current-slim
|
||||
ENV NODE_ENV=production
|
||||
WORKDIR /app-authentication
|
||||
COPY ["package.json", "package-lock.json*", "./"]
|
||||
RUN npm install --production
|
||||
COPY . .
|
||||
CMD [ "node", "server.js" ]
|
||||
Reference in a new issue