From 1c844f4f5d1f61eabdcc0b5c7cb79e9e36e61f11 Mon Sep 17 00:00:00 2001 From: Till JS Date: Thu, 26 Mar 2026 13:13:53 +0100 Subject: [PATCH] fix(manacore): increase Node heap size for Docker build Set NODE_OPTIONS=--max-old-space-size=4096 to prevent OOM during SvelteKit build in Docker container. Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/manacore/apps/web/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/manacore/apps/web/Dockerfile b/apps/manacore/apps/web/Dockerfile index e60fddab3..88cf6e46d 100644 --- a/apps/manacore/apps/web/Dockerfile +++ b/apps/manacore/apps/web/Dockerfile @@ -74,6 +74,7 @@ RUN pnpm build # Build the web app WORKDIR /app/apps/manacore/apps/web RUN pnpm exec svelte-kit sync +ENV NODE_OPTIONS="--max-old-space-size=4096" RUN pnpm build # Production stage