From 3c0dc2839d17a0b43c0c06f35c35c4ec7b246379 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Wed, 25 Feb 2026 14:19:31 -0800 Subject: [PATCH] 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 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index d81a17c..cd7cbd8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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