From bb03969d272ce2c7ce0dd83725558e32efed9cef Mon Sep 17 00:00:00 2001 From: parsa aghaei Date: Wed, 19 Aug 2026 10:17:32 +0330 Subject: [PATCH] ci: add --ignore-scripts to backend npm ci and execute prisma generate through vpn proxy --- backend/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 6b6b4b9..e726710 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -20,7 +20,8 @@ COPY package*.json ./ RUN no_proxy="172.17.0.2,172.17.0.3,localhost,127.0.0.1" \ NO_PROXY="172.17.0.2,172.17.0.3,localhost,127.0.0.1" \ DISABLE_OPENCOLLECTIVE=1 \ - npm ci --prefer-offline --no-audit --maxsockets 4 + PRISMA_SKIP_POSTINSTALL_GENERATE=true \ + npm ci --prefer-offline --no-audit --ignore-scripts COPY . . # prisma generate needs internet for engine binary -> use VPN proxy RUN http_proxy=http://172.17.0.1:8888 https_proxy=http://172.17.0.1:8888 \