From 1095202ad917b8c0346c6cc000bd98e745fdaa01 Mon Sep 17 00:00:00 2001 From: Till JS Date: Thu, 26 Mar 2026 09:38:51 +0100 Subject: [PATCH] fix(todo): increase Node heap size for web Docker build Vite build runs out of memory on Mac Mini server. Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/todo/apps/web/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/todo/apps/web/Dockerfile b/apps/todo/apps/web/Dockerfile index 54d8e3762..0e33fcc18 100644 --- a/apps/todo/apps/web/Dockerfile +++ b/apps/todo/apps/web/Dockerfile @@ -74,7 +74,7 @@ RUN pnpm build # Build the web app WORKDIR /app/apps/todo/apps/web RUN pnpm exec svelte-kit sync -RUN pnpm build +RUN NODE_OPTIONS="--max-old-space-size=4096" pnpm build # Production stage FROM node:20-alpine AS production