From 54f03c5c789d3a9b7a52cfddb8299c064a87794a Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 9 Dec 2024 18:15:06 +0800 Subject: [PATCH] fix: node build out of memory --- web/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/web/Dockerfile b/web/Dockerfile index ba8148805d6784..387075b8ace4c6 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -30,6 +30,7 @@ WORKDIR /app/web COPY --from=packages /app/web/ . COPY . . +ENV NODE_OPTIONS="--max-old-space-size=4096" RUN pnpm build