Skip to content

Commit

Permalink
fix: prune ignore scripts flag (#1359)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyesp authored Oct 23, 2023
1 parent 5efc399 commit e58a1e9
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 @@ -46,7 +46,7 @@ RUN sed -i.temp '/Pulumi\.ts/d' package.json

RUN NODE_OPTIONS="--max-old-space-size=4096" npm run build:server
RUN NODE_OPTIONS="--max-old-space-size=4096" VERSION_NUMBER=$version_number npm run build:front
RUN npm prune --production --no-scripts
RUN npm prune --production --ignore-scripts

FROM node:18.8-alpine
WORKDIR /app
Expand Down

0 comments on commit e58a1e9

Please sign in to comment.