We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67c9656 + 0a3a6db commit 6f27c95Copy full SHA for 6f27c95
8.0/onbuild/Dockerfile
@@ -6,7 +6,7 @@ WORKDIR /usr/src/app
6
ONBUILD ARG NODE_ENV
7
ONBUILD ENV NODE_ENV $NODE_ENV
8
ONBUILD COPY package.json /usr/src/app/
9
-ONBUILD RUN npm install && npm cache clean
+ONBUILD RUN npm install && npm cache clean --force
10
ONBUILD COPY . /usr/src/app
11
12
CMD [ "npm", "start" ]
Dockerfile-onbuild.template
0 commit comments