Raise Node heap to 8g for Angular production build
continuous-integration/drone/push Build is running
build-run / Run Lint, Build and Deploy (push) Canceled after 0s
Publish Image in Docker Hub / build (push) Canceled after 0s
Playwright E2E Tests / Run Playwright Tests (push) Canceled after 0s
Tests / testRigor (push) Canceled after 0s

This commit is contained in:
satyamsingh_8888
2026-09-14 13:51:42 +05:30
parent f4e596f641
commit ffcf9f4d41
+3 -1
View File
@@ -12,7 +12,9 @@ ARG PUPPETEER_CHROMIUM_REVISION_ARG=1011831
ARG PUPPETEER_SKIP_DOWNLOAD_ARG ARG PUPPETEER_SKIP_DOWNLOAD_ARG
# Set the environment variable to increase Node.js memory limit # Set the environment variable to increase Node.js memory limit
ENV NODE_OPTIONS="--max-old-space-size=4096" # (Mifos web-app ka production build memory-heavy hai; upstream build:prod
# 16384 use karta hai. 4096 par 'ng build' OOM ho jata hai.)
ENV NODE_OPTIONS="--max-old-space-size=8192"
RUN apk add --no-cache git RUN apk add --no-cache git