fix(scripts): specify service name in docker compose build
Avoid building zero services when all services are gated behind profiles. Without an explicit service target, 'docker compose build' silently skips all profile-gated services, causing subsequent 'docker compose run' to use stale or missing images.
This commit is contained in:
parent
d867e86dbe
commit
fb2b594060
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ echo ""
|
|||
|
||||
# Build the image
|
||||
echo "📦 Building Docker image..."
|
||||
docker compose -f "$COMPOSE_FILE" build
|
||||
docker compose -f "$COMPOSE_FILE" build "$SERVICE"
|
||||
|
||||
# Test npx
|
||||
echo "✅ Testing npx..."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue