Files
Projekt-Vorlage/.devcontainer/devcontainer.json
T

24 lines
829 B
JSON

{
"name": "webapp",
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
"features": {
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {}
},
"mounts": [
"source=claude-config-${devcontainerId},target=/home/node/.claude,type=volume",
"source=${localEnv:HOME}/.ssh/config,target=/home/node/.ssh/config,type=bind,readonly",
"source=${localEnv:HOME}/.ssh/known_hosts,target=/home/node/.ssh/known_hosts,type=bind,readonly"
],
"forwardPorts": [3000],
"postCreateCommand": "sudo chown -R node:node /home/node/.claude && cd frontend-starter && npm install",
"customizations": {
"vscode": {
"extensions": [
"anthropic.claude-code",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss"
]
}
}
}