refactor(workspace): mount CWD as /workspace instead of named volume

Run from the project directory you want to work on; claude.sh mounts
it automatically. Removes WORKSPACE_DIR env var support and the
named claude-secure-workspace Docker volume.
This commit is contained in:
docker-claude 2026-04-15 08:10:44 +02:00
parent e19d4eb0a3
commit 3401fa38a5
5 changed files with 15 additions and 38 deletions

View file

@ -14,12 +14,6 @@
# Port 54545 must be reachable from your browser for the OAuth callback.
# Run: sbx ports <sandbox-name> --publish 54545:54545/tcp
# ─── Workspace (CLI mode only) ────────────────────────────────────────────────
# Optional: mount a host directory as /workspace inside the Claude container.
# If unset, a named Docker volume is used (fully isolated from the host).
# WORKSPACE_DIR=/absolute/path/to/your/project
# ─── Web interface ────────────────────────────────────────────────────────────
# Required for ./claude.sh web