ci: add no_proxy for nexus in backend Dockerfile npm ci
Deploy Canina / deploy (push) Has been cancelled
Deploy Canina / deploy (push) Has been cancelled
This commit is contained in:
1 parent
f06ea49f34
commit
cacb6341f0
1 file changed
+1
-1
+1
-1
@@ -14,7 +14,7 @@ RUN if [ -n "$NPM_REGISTRY" ]; then \
|
||||
fi
|
||||
|
||||
COPY package*.json ./
|
||||
RUN http_proxy=http://172.17.0.1:8888 https_proxy=http://172.17.0.1:8888 npm ci --prefer-offline --no-audit
|
||||
RUN http_proxy=http://172.17.0.1:8888 https_proxy=http://172.17.0.1:8888 no_proxy=172.17.0.2,localhost,127.0.0.1 npm ci --prefer-offline --no-audit
|
||||
COPY . .
|
||||
RUN http_proxy=http://172.17.0.1:8888 https_proxy=http://172.17.0.1:8888 ./node_modules/.bin/prisma generate && npm run build
|
||||
|
||||
|
||||
Reference in new issue
Block a user