Skip to content

Commit bbb0d41

Browse files
committed
Fix Claude auth persistence and improve devcontainer user configuration
- Add bind mounts for .claude directory and .claude.json file to persist Claude authentication across container rebuilds - Switch from vscode to ubuntu user (UID 1000) to resolve shell history permission issues - Update volume mounts to use ubuntu user paths - Remove old Docker volumes that had incorrect ownership
1 parent 076553e commit bbb0d41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ services:
1010
- devcontainer-shell-history:/home/ubuntu/.shell_history
1111
- claude-auth:/home/ubuntu/.config/claude
1212
- github-cli-auth:/home/ubuntu/.config/gh
13+
- ${PWD}/.claude:/home/ubuntu/.claude:cached
14+
- ${HOME}/.claude.json:/home/ubuntu/.claude.json:cached
1315
working_dir: /workspace
1416
command: sleep infinity
1517
depends_on:

0 commit comments

Comments
 (0)