fix stuff finally?
All checks were successful
Build images / check-docker (push) Successful in 2s
Build images / build-and-push (push) Successful in 5m27s

This commit is contained in:
docker-claude 2026-04-15 19:18:48 +02:00
parent 1b141b200c
commit 4edef5ac1a
3 changed files with 5 additions and 1 deletions

0
build.sh Executable file → Normal file
View file

View file

@ -84,6 +84,8 @@ build_volume_args() {
# ─── Commands ───────────────────────────────────────────────────────────────── # ─── Commands ─────────────────────────────────────────────────────────────────
cmd_start() { cmd_start() {
check_deps; load_env; build_volume_args check_deps; load_env; build_volume_args
info "Pulling latest images..."
dc pull
info "Starting proxy sidecar..." info "Starting proxy sidecar..."
dc up -d proxy dc up -d proxy
info "Launching Claude Code..." info "Launching Claude Code..."
@ -123,6 +125,8 @@ cmd_web() {
check_deps; load_env check_deps; load_env
[[ -n "${WEBUI_PASSWORD:-}" ]] \ [[ -n "${WEBUI_PASSWORD:-}" ]] \
|| { error "WEBUI_PASSWORD is not set. Add it to .env before starting the web interface."; exit 1; } || { error "WEBUI_PASSWORD is not set. Add it to .env before starting the web interface."; exit 1; }
info "Pulling latest images..."
dc pull
info "Starting proxy and web interface..." info "Starting proxy and web interface..."
dc up -d webui dc up -d webui
info "Web interface is up → http://0.0.0.0:7681" info "Web interface is up → http://0.0.0.0:7681"

2
hooks/pre-commit Executable file → Normal file
View file

@ -2,7 +2,7 @@
# Ensure control scripts stay executable. # Ensure control scripts stay executable.
set -euo pipefail set -euo pipefail
SCRIPTS=(claude.sh build.sh) SCRIPTS=(claude.sh build.sh hooks/pre-commit)
for f in "${SCRIPTS[@]}"; do for f in "${SCRIPTS[@]}"; do
if [[ -f "$f" && ! -x "$f" ]]; then if [[ -f "$f" && ! -x "$f" ]]; then