From e70c851d62549aba74b14545395efb0047bf59d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=8C=E6=96=87=E9=BE=99?= Date: Wed, 19 Jul 2023 15:03:19 +0000 Subject: [PATCH 1/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'web/Dockerfilenew'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/Dockerfilenew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/Dockerfilenew b/web/Dockerfilenew index c3597fae..cfcb5948 100644 --- a/web/Dockerfilenew +++ b/web/Dockerfilenew @@ -14,7 +14,7 @@ RUN npm cache clean -f RUN rm -rf package-lock.json RUN npm install --registry https://nexus.ngaiot.com/repository/fs-npm/ -RUN npm run build +RUN npm run build --max-old-space-size=4096 --max-new-space-size=4096 RUN rm -rf client/src From 077888f3b8ff3fc0f96798d287650e24b7794ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=8C=E6=96=87=E9=BE=99?= Date: Wed, 19 Jul 2023 15:12:37 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'web/Dockerfilenew'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/Dockerfilenew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/Dockerfilenew b/web/Dockerfilenew index cfcb5948..c3597fae 100644 --- a/web/Dockerfilenew +++ b/web/Dockerfilenew @@ -14,7 +14,7 @@ RUN npm cache clean -f RUN rm -rf package-lock.json RUN npm install --registry https://nexus.ngaiot.com/repository/fs-npm/ -RUN npm run build --max-old-space-size=4096 --max-new-space-size=4096 +RUN npm run build RUN rm -rf client/src From b8687e9abbfcc3ec8dca6953f6762f13255fdc52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=8C=E6=96=87=E9=BE=99?= Date: Wed, 19 Jul 2023 15:13:22 +0000 Subject: [PATCH 3/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'web/package.json'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/package.json b/web/package.json index add7d5a1..2f412647 100644 --- a/web/package.json +++ b/web/package.json @@ -9,7 +9,7 @@ "start-params": "node server -p 5000 -u http://localhost:13400 --qndmn http://rfkimpwbb.hn-bkt.clouddn.com --vcmpWebUrl https://mediaconsole.ngaiot.com --vcmpMirrorId 24461524032354", "deploy": "export NODE_ENV=production&&npm run color && npm run build && node server", "build-dev": "export NODE_ENV=development&&webpack --config webpack.config.js", - "build": "export NODE_ENV=production&&webpack --config webpack.config.prod.js", + "build": "export NODE_ENV=production&&node --max-old-space-size=4096 --max-new-space-size=4096 && webpack --config webpack.config.prod.js", "color": "node color" }, "keywords": [ From bb12355350c32595d1dc0ced0a466bb62d88867c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=8C=E6=96=87=E9=BE=99?= Date: Wed, 19 Jul 2023 15:18:08 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'web/package.json'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/package.json b/web/package.json index 2f412647..add7d5a1 100644 --- a/web/package.json +++ b/web/package.json @@ -9,7 +9,7 @@ "start-params": "node server -p 5000 -u http://localhost:13400 --qndmn http://rfkimpwbb.hn-bkt.clouddn.com --vcmpWebUrl https://mediaconsole.ngaiot.com --vcmpMirrorId 24461524032354", "deploy": "export NODE_ENV=production&&npm run color && npm run build && node server", "build-dev": "export NODE_ENV=development&&webpack --config webpack.config.js", - "build": "export NODE_ENV=production&&node --max-old-space-size=4096 --max-new-space-size=4096 && webpack --config webpack.config.prod.js", + "build": "export NODE_ENV=production&&webpack --config webpack.config.prod.js", "color": "node color" }, "keywords": [