From f06ea49f344eae6c203af674830afcfb43e5ba9d Mon Sep 17 00:00:00 2001
From: parsa aghaei
Date: Wed, 19 Aug 2026 09:50:50 +0330
Subject: [PATCH] ci: pass vpn tinyproxy to npm ci and prisma generate in
backend Dockerfile
---
backend/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/Dockerfile b/backend/Dockerfile
index 8eb3c6f..a4ead50 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -14,7 +14,7 @@ RUN if [ -n "$NPM_REGISTRY" ]; then \
fi
COPY package*.json ./
-RUN npm ci --prefer-offline --no-audit
+RUN http_proxy=http://172.17.0.1:8888 https_proxy=http://172.17.0.1:8888 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