mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
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:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user