mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
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:
parent
8b5889e125
commit
1c844f4f5d
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue