Skip to content

Commit

Permalink
npm cache clean
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoFresh committed Aug 16, 2021
1 parent 993edd9 commit 89cecb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:lts-alpine
WORKDIR /opt/project

COPY package*.json ./
RUN npm ci --only=production
RUN npm ci --only=production && npm cache clean --force

COPY --chown=node:node . .

Expand Down
2 changes: 1 addition & 1 deletion app2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ WORKDIR /opt/project
COPY package*.json ./

ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
RUN npm ci --only=production
RUN npm ci --only=production && npm cache clean --force

COPY --chown=node:node . .

Expand Down

0 comments on commit 89cecb2

Please sign in to comment.