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