Template
Schulungs-Vorlage auf neues App-Template umgestellt
This commit is contained in:
1 parent
2dfa403641
commit
46efd2d9d0
17 files changed
+162
-414
No files matched your search
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"features": {
|
||||
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "ghcr.io/anthropics/devcontainer-features/claude-code@sha256:cfc2e7d3e9fd3b9b01f8d5cb158508a884c8c0ede2e23ed10f32dea5d4ffe69a",
|
||||
"integrity": "sha256:cfc2e7d3e9fd3b9b01f8d5cb158508a884c8c0ede2e23ed10f32dea5d4ffe69a"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,13 +7,18 @@
|
||||
"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"
|
||||
"source=${localEnv:HOME}/.ssh/known_hosts,target=/home/node/.ssh/known_hosts,type=bind,readonly",
|
||||
"source=npm-cache,target=/home/node/.npm,type=volume"
|
||||
],
|
||||
"forwardPorts": [3000],
|
||||
"containerEnv": {
|
||||
"NEXT_TELEMETRY_DISABLED": "1",
|
||||
"NPM_CONFIG_UPDATE_NOTIFIER": "false"
|
||||
},
|
||||
"portsAttributes": {
|
||||
"3000": { "label": "App", "onAutoForward": "openBrowser" }
|
||||
},
|
||||
"postCreateCommand": "sudo chown -R node:node /home/node/.claude && cd frontend-starter && npm install",
|
||||
"postCreateCommand": "sudo chown -R node:node /home/node/.claude /home/node/.npm && cd frontend-starter && npm install",
|
||||
"postStartCommand": "cd frontend-starter && npm install --no-audit --no-fund",
|
||||
"postAttachCommand": "cd frontend-starter && npx -y kill-port 3000 && npm run dev",
|
||||
"customizations": {
|
||||
@@ -33,4 +38,5 @@
|
||||
"bradlc.vscode-tailwindcss"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user