Use Iranian npm mirror and rewrite package-lock URLs

npm ci ignores registry config when lockfile points at registry.npmjs.org; rewrite resolved URLs to mirror.iranserver.com before install.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-05 20:54:35 +03:30
co-authored by Cursor
parent 5ed1b83457
commit 5e973d7f2c
3 changed files with 23 additions and 10 deletions
+4
View File
@@ -8,6 +8,10 @@ POSTGRES_DB=fabric_trade
POSTGRES_PORT=5432
API_PORT=3000
RUN_SEED=false
# مخزن npm ایرانی برای بیلد Docker
NPM_REGISTRY=https://mirror.iranserver.com/npm/
# اگر Bake/buildx ارور داد:
COMPOSE_BAKE=false
JWT_SECRET="fabric-trade-dev-secret-change-me"
JWT_EXPIRES_IN="7d"