From 5d906e7b5c828fc28f19b0d90bc94889b9a4d7d4 Mon Sep 17 00:00:00 2001 From: Brad <46579244+bradAGI@users.noreply.github.com> Date: Mon, 29 Jul 2024 20:14:51 -0400 Subject: [PATCH] update Dockerfile to fix broken build (increase node js memory limit) (#2898) fix Dockerfile to fix node js mem limit --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 314178d6d..dfbf58d1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,8 @@ RUN npm install -g pnpm ENV PUPPETEER_SKIP_DOWNLOAD=true ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser +ENV NODE_OPTIONS=--max-old-space-size=8192 + WORKDIR /usr/src # Copy app source