From ffcf9f4d4139a3ce3806606e839fc5aab9cf4b27 Mon Sep 17 00:00:00 2001 From: satyamsingh_8888 Date: Mon, 14 Sep 2026 13:51:42 +0530 Subject: [PATCH] Raise Node heap to 8g for Angular production build --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f7fd4c7da..eb90d8958 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,9 @@ ARG PUPPETEER_CHROMIUM_REVISION_ARG=1011831 ARG PUPPETEER_SKIP_DOWNLOAD_ARG # 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