Fix npm registry ARG so builds use npmmirror by default

ARG after FROM was empty without an explicit default, so npm ci hit the slow/blocked official registry.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-05 20:49:49 +03:30
co-authored by Cursor
parent 9a9566dd50
commit 5ed1b83457
2 changed files with 11 additions and 8 deletions
+2
View File
@@ -21,6 +21,8 @@ services:
build:
context: .
dockerfile: Dockerfile
args:
NPM_REGISTRY: ${NPM_REGISTRY:-https://registry.npmmirror.com}
container_name: fabric_trade_api
restart: unless-stopped
depends_on: