update Dockerfile to fix broken build (increase node js memory limit) (#2898)

fix Dockerfile to fix node js mem limit
This commit is contained in:
Brad 2024-07-29 20:14:51 -04:00 committed by GitHub
parent 27cb143fef
commit 5d906e7b5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ RUN npm install -g pnpm
ENV PUPPETEER_SKIP_DOWNLOAD=true ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
ENV NODE_OPTIONS=--max-old-space-size=8192
WORKDIR /usr/src WORKDIR /usr/src
# Copy app source # Copy app source