Faster build
This commit is contained in:
parent
8064752200
commit
941848df08
@ -1,7 +1,8 @@
|
|||||||
FROM node:14-buster-slim
|
FROM node:14-buster-slim
|
||||||
|
|
||||||
ADD * /app/
|
ADD package.json package-lock.json /app/
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN npm i
|
RUN npm i
|
||||||
|
ADD app.js /app/
|
||||||
USER nobody
|
USER nobody
|
||||||
CMD node app.js
|
CMD node app.js
|
||||||
|
Loading…
Reference in New Issue
Block a user