Faster build

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