From cddc1149f1af8120142e2195eea3f1da9b201b23 Mon Sep 17 00:00:00 2001 From: Yogi_Wang Date: Wed, 6 Nov 2019 16:37:21 +0800 Subject: [PATCH] Modify the memory of nodejs used from 8192MB to 2048MB Signed-off-by: Yogi_Wang --- make/photon/portal/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/photon/portal/Dockerfile b/make/photon/portal/Dockerfile index bc710655e..e7bc0279f 100644 --- a/make/photon/portal/Dockerfile +++ b/make/photon/portal/Dockerfile @@ -20,7 +20,7 @@ COPY src/portal /build_dir RUN ls -la \ && npm run build_lib \ && npm run link_lib \ - && node --max_old_space_size=8192 'node_modules/@angular/cli/bin/ng' build --prod + && node --max_old_space_size=2048 'node_modules/@angular/cli/bin/ng' build --prod FROM photon:2.0