ci: add no_proxy for nexus in backend Dockerfile npm ci
Some checks failed
Deploy Canina / deploy (push) Has been cancelled
Some checks failed
Deploy Canina / deploy (push) Has been cancelled
This commit is contained in:
parent
f06ea49f34
commit
cacb6341f0
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user