Skip to content

Commit

Permalink
Try increasing node memory.
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Jun 29, 2023
1 parent b73cb80 commit 08370d4
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 @@ -27,7 +27,7 @@ COPY .git .git
RUN echo "export const VERSION = '$(git describe --tag)';" > "src/shared/version.ts"

RUN yarn --production --prefer-offline
RUN yarn build:prod
RUN NODE_OPTIONS="--max-old-space-size=8192" yarn build:prod

# Prune the image
RUN node-prune /usr/src/app/node_modules
Expand Down

0 comments on commit 08370d4

Please sign in to comment.