Faster build

This commit is contained in:
Simon Detheridge 2021-04-09 17:10:36 +01:00
parent 8064752200
commit 941848df08
Signed by: simon
GPG Key ID: 38640971DA1E704E
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
FROM node:14-buster-slim
ADD * /app/
ADD package.json package-lock.json /app/
WORKDIR /app
RUN npm i
ADD app.js /app/
USER nobody
CMD node app.js