From f051f094eaa1707c60f6c4d83f7df63011c8935d Mon Sep 17 00:00:00 2001
From: parsa aghaei
Date: Wed, 19 Aug 2026 10:04:59 +0330
Subject: [PATCH] ci: disable opencollective in backend Dockerfile
---
backend/Dockerfile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/backend/Dockerfile b/backend/Dockerfile
index 8b2bb5c..d64be92 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -4,17 +4,18 @@ RUN http_proxy=http://172.17.0.1:8888 https_proxy=http://172.17.0.1:8888 apk add
WORKDIR /app
ENV PRISMA_SKIP_POSTINSTALL_GENERATE=true
ENV PRISMA_ENGINES_MIRROR=https://registry.npmmirror.com/-/binary/prisma
+ENV DISABLE_OPENCOLLECTIVE=1
# Optional: Use Nexus as npm registry (pass --build-arg NPM_REGISTRY=http://nexus:8081/repository/npm/)
ARG NPM_REGISTRY=
RUN if [ -n "$NPM_REGISTRY" ]; then \
- npm config set registry "$NPM_REGISTRY" && \
- npm config set strict-ssl false && \
- echo "Using npm registry: $NPM_REGISTRY"; \
+ npm config set registry "$NPM_REGISTRY" && \
+ npm config set strict-ssl false && \
+ echo "Using npm registry: $NPM_REGISTRY"; \
fi
COPY package*.json ./
-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
+RUN http_proxy=http://172.17.0.1:8888 https_proxy=http://172.17.0.1:8888 DISABLE_OPENCOLLECTIVE=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