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:
parent
1764181e6f
commit
fcedba1c9d
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue