diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 4d231be..8ba2fba 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -22,7 +22,9 @@ WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . # Cap node heap so a build on a small VPS can't OOM-kill neighbours. -ENV NODE_OPTIONS=--max-old-space-size=1536 +# 1536 stopped being enough at the 2026-07 UI revamp (cmdk, day-picker, +# chart wrappers); rollup now peaks between 1.5G and 2G. +ENV NODE_OPTIONS=--max-old-space-size=2048 RUN corepack enable && pnpm build # Production: Hono serves dist/ + /api/copilotkit on port 3000