This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Description
|
||||
|
||||
This is a simple container to run Claude Code in an updated ubuntu OS. It is suggested that you mount only the git repo(s) you need to access
|
||||
|
||||
Usage example to work with ai.psi.ch:
|
||||
|
||||
```bash
|
||||
REPO_DIR=/whatever
|
||||
TOKEN=YOUR_TOKEN
|
||||
MODEL=Qwen/Qwen3-Coder-30B-A3B-Instruct
|
||||
|
||||
docker run -v $HOME/.claude:/home/ubuntu/.claude:Z -v $REPO_DIR:/workspace:Z \
|
||||
--net=host --rm -ti \
|
||||
-e "ANTHROPIC_BASE_URL=https://ai.psi.ch/api" \
|
||||
-e "ANTHROPIC_API_KEY=$TOKEN"
|
||||
-e "ANTHROPIC_MODEL=$MODEL" -ti gitea.psi.ch/images/claude-code:latest
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user