Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ if [ -n "${CLAUDEBOX_PROJECT_NAME:-}" ]; then
runuser -u DOCKERUSER -- touch "$VENV_FLAG"
else
# Someone else is creating it, wait for completion flag
local wait_count=0
wait_count=0
while [ ! -f "$VENV_FLAG" ] && [ $wait_count -lt 60 ]; do
sleep 0.5
((wait_count++)) || true
Expand Down
4 changes: 3 additions & 1 deletion lib/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ run_claudebox_container() {

docker_args+=(
-e "NODE_ENV=${NODE_ENV:-production}"
-e "ANTHROPIC_BASE_URL=${ANTHROPIC_BASE_URL:-}"
-e "ANTHROPIC_AUTH_TOKEN=${ANTHROPIC_AUTH_TOKEN:-}"
-e "ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}"
-e "CLAUDEBOX_PROJECT_NAME=$project_name"
-e "CLAUDEBOX_SLOT_NAME=$slot_name"
Expand Down Expand Up @@ -451,4 +453,4 @@ run_docker_build() {
-f "$1" -t "$IMAGE_NAME" "$2" || error "Docker build failed"
}

export -f check_docker install_docker configure_docker_nonroot docker_exec_root docker_exec_user run_claudebox_container check_container_exists run_docker_build
export -f check_docker install_docker configure_docker_nonroot docker_exec_root docker_exec_user run_claudebox_container check_container_exists run_docker_build