Skip to content

Commit

Permalink
clearing npm cache to save space
Browse files Browse the repository at this point in the history
  • Loading branch information
xphyr committed Sep 14, 2023
1 parent a073a74 commit 44d2a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ WORKDIR /app
ENV npm_config_cache /home/node/.npm

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

COPY --from=build /app .

Expand Down

0 comments on commit 44d2a6c

Please sign in to comment.