From cacb6341f0371d85e7525fdf28a2e59b5a0e67b3 Mon Sep 17 00:00:00 2001
From: parsa aghaei
Date: Wed, 19 Aug 2026 09:59:26 +0330
Subject: [PATCH] ci: add no_proxy for nexus in backend Dockerfile npm ci
---
backend/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/Dockerfile b/backend/Dockerfile
index a4ead50..8b2bb5c 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -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