fix(docker): add profiles to build commands

Add --profile gateway --profile agent flags to docker build commands
to ensure services are built even when using profiles in compose files.

Without profiles specified, docker compose build skips all services
that have a profile defined, resulting in 'No services to build' warning.

Changes:
- docker-build: add --profile flags
- docker-build-full: add --profile flags

Fixes: WARN[0000] No services to build
This commit is contained in:
yuchou87
2026-02-16 15:59:34 +08:00
parent 1764181e6f
commit fcedba1c9d
+2 -2
View File
@@ -143,12 +143,12 @@ run: build
## docker-build: Build Docker image (minimal Alpine-based)
docker-build:
@echo "Building minimal Docker image (Alpine-based)..."
docker compose build
docker compose build --profile gateway --profile agent
## docker-build-full: Build Docker image with full MCP support (Node.js 24)
docker-build-full:
@echo "Building full-featured Docker image (Node.js 24)..."
docker compose -f docker-compose.full.yml build
docker compose -f docker-compose.full.yml build --profile gateway --profile agent
## docker-test: Test MCP tools in Docker container
docker-test: