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) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-26 13:13:53 +01:00
parent 8b5889e125
commit 1c844f4f5d

View file

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