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:
parent
51b9b2f079
commit
3c0dc2839d
|
|
@ -28,6 +28,7 @@ COPY rcal-online/ .
|
||||||
|
|
||||||
# Build the application
|
# Build the application
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
|
ENV NODE_OPTIONS="--max_old_space_size=4096"
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue