fix(workflow): remove build contexts from compose; build.sh uses docker build directly

This commit is contained in:
docker-claude 2026-04-15 17:15:51 +02:00
parent 3f91b27c94
commit 6a060aa8ab
3 changed files with 12 additions and 19 deletions

View file

@ -85,9 +85,9 @@ build_volume_args() {
cmd_start() {
check_deps; load_env; build_volume_args
info "Starting proxy sidecar..."
dc up -d --no-build proxy
dc up -d proxy
info "Launching Claude Code..."
dc run --rm --no-build --service-ports "${VOLUME_ARGS[@]}" claude "$@"
dc run --rm --service-ports "${VOLUME_ARGS[@]}" claude "$@"
}
cmd_stop() {
@ -116,7 +116,7 @@ cmd_status() {
cmd_shell() {
check_deps; load_env; build_volume_args
warn "Opening debug shell inside Claude container (non-Claude entrypoint)."
dc run --rm --no-build --service-ports --entrypoint /bin/bash "${VOLUME_ARGS[@]}" claude
dc run --rm --service-ports --entrypoint /bin/bash "${VOLUME_ARGS[@]}" claude
}
cmd_web() {
@ -124,7 +124,7 @@ cmd_web() {
[[ -n "${WEBUI_PASSWORD:-}" ]] \
|| { error "WEBUI_PASSWORD is not set. Add it to .env before starting the web interface."; exit 1; }
info "Starting proxy and web interface..."
dc up -d --no-build webui
dc up -d webui
info "Web interface is up → http://0.0.0.0:7681"
info "Credentials: ${WEBUI_USER:-claude} / [WEBUI_PASSWORD]"
}