chore: install claude code in ddev container for security reasons

This commit is contained in:
Björn Fromme
2025-12-31 14:02:53 +01:00
parent 42744fa30f
commit 7127b4d050
5 changed files with 37 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
#ddev-generated
hooks:
post-start:
- exec: "tail -n +2 /var/www/html/.ddev/web-build/claude-code.gitignore >> /var/www/html/.ddev/.gitignore"
- exec: ">> /var/www/html/.ddev/.claude.json && ln -s /var/www/html/.ddev/.claude.json ~/.claude.json"
- exec: "mkdir -p /var/www/html/.ddev/.claude && ln -s /var/www/html/.ddev/.claude ~/.claude"