From 5eb7696ead2da961d6ac5223a2badb48502142ba Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Wed, 2 Oct 2024 17:43:52 +0800 Subject: [PATCH] chore: update NODE_OPTIONS in static layer to make sure build can pass --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 829ee00..5685b34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,7 @@ COPY . . RUN pnpm install --frozen-lockfile ENV VITE_VERSION=$VERSION +ENV NODE_OPTIONS="--max-old-space-size=4096" RUN pnpm build:static