From 789d63dd0cbc52f6bd7d13d5d2603d5309294092 Mon Sep 17 00:00:00 2001 From: Jason Thomas Date: Tue, 2 Jan 2024 19:23:09 +0000 Subject: [PATCH 1/3] changed path to npm binary --- gateway/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/package.json b/gateway/package.json index 22555e519..4e0828f16 100644 --- a/gateway/package.json +++ b/gateway/package.json @@ -134,7 +134,7 @@ "webpack:dev": "npm run webpack-dev-server -- --config webpack/webpack.dev.js --inline --hot --port=9060 --watch-content-base --env.stats=minimal", "webpack:dev-verbose": "npm run webpack-dev-server -- --config webpack/webpack.dev.js --inline --hot --port=9060 --watch-content-base --profile --progress --env.stats=normal", "webpack:build:main": "npm run webpack -- --config webpack/webpack.dev.js --env.stats=minimal", - "webpack:build": "npm run cleanup && npm run webpack:build:main", + "webpack:build": "./node/node_modules/npm/bin/npm run cleanup && ./node/node_modules/npm/bin/npm run webpack:build:main", "webpack:local:main": "npm run webpack -- --config webpack/webpack.local.js --profile", "webpack:local": "npm run cleanup && npm run webpack:local:main && npm run clean-www", "webpack:qa:main": "npm run webpack -- --config webpack/webpack.qa.js --profile", From 996f9fb63c014101c118afd424a45454cebbf8a9 Mon Sep 17 00:00:00 2001 From: Jason Thomas Date: Tue, 2 Jan 2024 20:42:53 +0000 Subject: [PATCH 2/3] check in npm config has included a proxy somewhere --- ui/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/Dockerfile b/ui/Dockerfile index d1ae9bfdc..fcde4c74c 100644 --- a/ui/Dockerfile +++ b/ui/Dockerfile @@ -16,7 +16,10 @@ COPY package*.json ./ # If you are building your code for production # RUN npm install --only=production -RUN npm install +RUN \ + npm config list && \ + npm config delete proxy && \ + npm install # Bundle app source COPY . . From 5358d1a5be2864dbcea84ac21514faa6755eecb0 Mon Sep 17 00:00:00 2001 From: Jason Thomas Date: Tue, 2 Jan 2024 21:05:41 +0000 Subject: [PATCH 3/3] set a version for the from nginx image layer --- ui/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/Dockerfile b/ui/Dockerfile index fcde4c74c..59536cbab 100644 --- a/ui/Dockerfile +++ b/ui/Dockerfile @@ -26,7 +26,7 @@ COPY . . RUN npm run build -FROM nginx +FROM nginx:1.24.0-bullseye RUN \ apt-get update && \