From 261660cd9c70153d57b48fdc4127e67566bb74c8 Mon Sep 17 00:00:00 2001 From: lideming Date: Tue, 9 Jul 2024 04:48:42 +0800 Subject: [PATCH] chore: max-old-space-size=8192 --- Dockerfile.base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.base b/Dockerfile.base index 2921296c2..34585b66e 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -15,7 +15,7 @@ RUN yarn install --no-optional --frozen-lockfile --network-timeout 1000000 && \ COPY . . ARG CDN_URL -RUN yarn build +RUN NODE_OPTIONS="--max-old-space-size=8192" yarn build RUN rm -rf node_modules