From 386d098fde87f49e3ad4d94a323a3fed1aa11589 Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Wed, 22 Nov 2023 16:19:27 +0100 Subject: [PATCH] chore: try to give nodejs more memory --- docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 8cf4184646..20fe4f2a84 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -19,6 +19,8 @@ ENV YARN_HTTP_TIMEOUT=300000 # set production env install will not install devDependencies ENV NODE_ENV=production +ENV NODE_OPTIONS="--max-old-space-size=4096" + COPY . . # if node_modules does not exist, run it, otherwise skip