ci: add no_proxy for nexus in backend Dockerfile npm ci
Some checks failed
Deploy Canina / deploy (push) Has been cancelled

This commit is contained in:
parsa aghaei 2026-08-19 09:59:26 +03:30
parent f06ea49f34
commit cacb6341f0

View File

@ -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