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:
yuchou87
2026-02-21 13:39:42 +08:00
parent d867e86dbe
commit fb2b594060
+1 -1
View File
@@ -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..."