fix(prod-compose): cards-api needs NPM_AUTH_TOKEN build-arg
Some checks are pending
CI / validate (push) Waiting to run
Some checks are pending
CI / validate (push) Waiting to run
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) <noreply@anthropic.com>
This commit is contained in:
parent
045903b5b9
commit
a993cc28ca
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue