From 7e90c54b27da0f7cb6d84970d41fd9bf73a3b9ee Mon Sep 17 00:00:00 2001 From: keven1024 Date: Sun, 24 May 2026 11:41:20 +0800 Subject: [PATCH] chore(docker): add NODE_OPTIONS environment variable to Dockerfile for increased memory allocation during build --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 31385a9..76b04a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ WORKDIR /app FROM front-base AS front-builder RUN apk add --no-cache gcompat ENV CI=true +ENV NODE_OPTIONS="--max-old-space-size=4096" COPY . . RUN corepack enable pnpm && pnpm i && pnpm --filter=015-front build && pnpm --dir pkg/mail export