fix(ci): pass explicit node heap limits directly into Dockerfile to circumvent Next.js container OOM death
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 5m45s
Build & Deploy / 🏗️ Build (push) Successful in 11m54s
Build & Deploy / 🚀 Deploy (push) Failing after 24s
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s

This commit is contained in:
2026-03-01 10:10:31 +01:00
parent 6444aea5f6
commit 10980ba8b3

View File

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