Skip to content

Commit 6f27c95

Browse files
authored
Merge pull request #426 from pesho/cache_force
Force cache cleaning
2 parents 67c9656 + 0a3a6db commit 6f27c95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

8.0/onbuild/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WORKDIR /usr/src/app
66
ONBUILD ARG NODE_ENV
77
ONBUILD ENV NODE_ENV $NODE_ENV
88
ONBUILD COPY package.json /usr/src/app/
9-
ONBUILD RUN npm install && npm cache clean
9+
ONBUILD RUN npm install && npm cache clean --force
1010
ONBUILD COPY . /usr/src/app
1111

1212
CMD [ "npm", "start" ]

Dockerfile-onbuild.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WORKDIR /usr/src/app
66
ONBUILD ARG NODE_ENV
77
ONBUILD ENV NODE_ENV $NODE_ENV
88
ONBUILD COPY package.json /usr/src/app/
9-
ONBUILD RUN npm install && npm cache clean
9+
ONBUILD RUN npm install && npm cache clean --force
1010
ONBUILD COPY . /usr/src/app
1111

1212
CMD [ "npm", "start" ]

0 commit comments

Comments
 (0)