Skip to content

Commit 3cfe1dc

Browse files
committed
46741 fix(frontend): add NODE_OPTIONS to Dockerfile for webpack build memory
1 parent 7723849 commit 3cfe1dc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

frontend/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ RUN npm ci --legacy-peer-deps
2323
ADD . /pneumatic_frontend/
2424

2525
# Build webpack bundle at image build time (env-independent since runtime config refactor)
26+
ENV NODE_OPTIONS="--max-old-space-size=3072"
2627
RUN npm run build-client:prod
2728

2829
CMD ["pm2-runtime", "start", "pm2.json"]

0 commit comments

Comments
 (0)