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", diff --git a/ui/Dockerfile b/ui/Dockerfile index d1ae9bfdc..59536cbab 100644 --- a/ui/Dockerfile +++ b/ui/Dockerfile @@ -16,14 +16,17 @@ 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 . . RUN npm run build -FROM nginx +FROM nginx:1.24.0-bullseye RUN \ apt-get update && \