From 10980ba8b305062373bcf46480837ef961a9d05a Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sun, 1 Mar 2026 10:10:31 +0100 Subject: [PATCH] fix(ci): pass explicit node heap limits directly into Dockerfile to circumvent Next.js container OOM death --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 7c8a0c3..e7afa78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \ COPY . . # Build application (monorepo filter) +ENV NODE_OPTIONS="--max_old_space_size=4096" RUN pnpm --filter @mintel/web build # Stage 2: Runner