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) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-26 09:38:51 +01:00
parent c7cf2518f8
commit 1095202ad9

View file

@ -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