Fix Claude Code hanging in hardened container
Claude Code writes to ~/.claude.json, ~/.cache/, and ~/.npm/ which failed silently on the read-only root filesystem. Add tmpfs at /home/storkit so the home dir is writable (the claude-state volume overlays on top for persistent .claude/ data). Also fix .dockerignore: use **/target/ to match nested target dirs, add .storkit/logs/ and **/node_modules/ to prevent multi-GB build context transfers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
11
.dockerignore
Normal file
11
.dockerignore
Normal file
@@ -0,0 +1,11 @@
|
||||
# Docker build context exclusions
|
||||
**/target/
|
||||
**/node_modules/
|
||||
frontend/dist/
|
||||
.storkit/worktrees/
|
||||
.storkit/logs/
|
||||
.storkit/work/6_archived/
|
||||
.git/
|
||||
*.swp
|
||||
*.swo
|
||||
.DS_Store
|
||||
Reference in New Issue
Block a user