feat: add dockerfile with the readme

This commit is contained in:
2025-10-07 16:40:42 +05:30
parent 87808ba8dd
commit e7c48d53c6
2 changed files with 25 additions and 0 deletions

View File

@@ -1,2 +1,13 @@
# isolated-claude-code
1. Build the docker image. `docker build -t claude-code `
2. Run the container `docker run --rm -it -v "$(git rev-parse --show-toplevel 2>/dev/null || pwd)":/app -v "$HOME/.claude":/root/.claude claude-code`
You can also add a shell alias:
```
alias claude='docker run --rm -it \
-v "$(git rev-parse --show-toplevel 2>/dev/null || pwd)":/app \
-v "$HOME/.claude":/root/.claude \
claude-code'
```