Skip to content

Commit

Permalink
fix: missing force option for npm cache clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordy Cabannes committed Jan 4, 2024
1 parent 343e59f commit 39a3c8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ COPY package*.json ./

COPY . .

RUN npm install && npm run build && npm cache clean
RUN npm install && npm run build && npm cache clean --force

EXPOSE 3000
CMD [ "node", "/usr/src/app/server.mjs" ]
2 changes: 1 addition & 1 deletion packages/federation-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ COPY tsconfig-build.json ./
COPY rollup-template.js ./
COPY package*.json ./

RUN npm install && npm run build && npm cache clean
RUN npm install && npm run build && npm cache clean --force

EXPOSE 3000
CMD [ "node", "/usr/src/app/server.mjs" ]

0 comments on commit 39a3c8d

Please sign in to comment.