From a993cc28ca525c0dad6e0b0636abb3b8baaacac0 Mon Sep 17 00:00:00 2001 From: Till JS Date: Fri, 8 May 2026 20:10:39 +0200 Subject: [PATCH] fix(prod-compose): cards-api needs NPM_AUTH_TOKEN build-arg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cards-web hatte den Arg, cards-api nicht — Build schlägt 401 gegen Verdaccio fehl, weil das .npmrc im Container die env nicht aufgelöst bekommt. Co-Authored-By: Claude Opus 4.7 (1M context) --- infrastructure/docker-compose.production.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infrastructure/docker-compose.production.yml b/infrastructure/docker-compose.production.yml index fcbe0dd..4e78797 100644 --- a/infrastructure/docker-compose.production.yml +++ b/infrastructure/docker-compose.production.yml @@ -67,6 +67,8 @@ services: build: context: ../ dockerfile: apps/api/Dockerfile + args: + NPM_AUTH_TOKEN: ${NPM_AUTH_TOKEN:?missing NPM_AUTH_TOKEN} restart: unless-stopped depends_on: cards-postgres: