fix: increase Node heap size for Docker build

Add NODE_OPTIONS --max_old_space_size=4096 to prevent SIGSEGV during
Next.js build in Docker.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-25 14:19:31 -08:00
parent 51b9b2f079
commit 3c0dc2839d
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ COPY rcal-online/ .
# Build the application
ENV NEXT_TELEMETRY_DISABLED=1
ENV NODE_OPTIONS="--max_old_space_size=4096"
RUN npm run build
# Production stage