fix(docker): use service names instead of --profile flag for build
Replace --profile flags with explicit service names in build commands. The 'docker compose build' command does not support --profile flag; profiles are only used for runtime operations like 'up' and 'run'. Changes: - docker-build: specify picoclaw-agent picoclaw-gateway - docker-build-full: specify picoclaw-agent picoclaw-gateway Fixes: unknown flag: --profile error
This commit is contained in:
parent
fcedba1c9d
commit
e91e716958
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: Build Docker image (minimal Alpine-based)
|
||||||
docker-build:
|
docker-build:
|
||||||
@echo "Building minimal Docker image (Alpine-based)..."
|
@echo "Building minimal Docker image (Alpine-based)..."
|
||||||
docker compose build --profile gateway --profile agent
|
docker compose build picoclaw-agent picoclaw-gateway
|
||||||
|
|
||||||
## docker-build-full: Build Docker image with full MCP support (Node.js 24)
|
## docker-build-full: Build Docker image with full MCP support (Node.js 24)
|
||||||
docker-build-full:
|
docker-build-full:
|
||||||
@echo "Building full-featured Docker image (Node.js 24)..."
|
@echo "Building full-featured Docker image (Node.js 24)..."
|
||||||
docker compose -f docker-compose.full.yml build --profile gateway --profile agent
|
docker compose -f docker-compose.full.yml build picoclaw-agent picoclaw-gateway
|
||||||
|
|
||||||
## docker-test: Test MCP tools in Docker container
|
## docker-test: Test MCP tools in Docker container
|
||||||
docker-test:
|
docker-test:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue