Skip to content

Commit

Permalink
fix: Remove cache directory (#404)
Browse files Browse the repository at this point in the history
* fix: Remove cache directory

* fix: Use gatsby clean
  • Loading branch information
LautaroPetaccio committed Nov 24, 2023
1 parent 538ee69 commit f7bafad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ COPY ./tsconfig.json /app/tsconfig.json
RUN NODE_OPTIONS="--max-old-space-size=2048" npm run build:server
# RUN NODE_OPTIONS="--max-old-space-size=2048" npm run build:sw
RUN NODE_OPTIONS="--max-old-space-size=2048" npm run build:front -- --prefix-paths
RUN mv public public-prefix
RUN mv public public-prefix && npm run clean
RUN NODE_OPTIONS="--max-old-space-size=2048" npm run build:front
RUN npm prune --production

Expand Down

0 comments on commit f7bafad

Please sign in to comment.