Faster build

This commit is contained in:
2021-04-09 17:11:36 +01:00
parent 8064752200
commit 941848df08
+2 -1
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