...
This commit is contained in:
50
.devcontainer/devcontainer.json
Normal file
50
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,50 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
|
||||
{
|
||||
"name": "buntest",
|
||||
"image": "despiegk/devel:latest",
|
||||
|
||||
"features": {
|
||||
},
|
||||
|
||||
// Configure tool-specific properties.
|
||||
"customizations": {
|
||||
// Configure properties specific to VS Code.
|
||||
"vscode": {
|
||||
"settings": {},
|
||||
"extensions": [
|
||||
"saoudrizwan.claude-dev",
|
||||
"ms-vscode.vscode-typescript-next",
|
||||
"mhutchie.git-graph",
|
||||
"donjayamanne.git-extension-pack"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"mounts": [
|
||||
"source=${localEnv:HOME}/code,target=/root/code,type=bind,consistency=cached"
|
||||
],
|
||||
|
||||
"forwardPorts": [3000, 6379],
|
||||
|
||||
// Use 'portsAttributes' to set default properties for specific forwarded ports.
|
||||
// More info: https://containers.dev/implementors/json_reference/#port-attributes
|
||||
"portsAttributes": {
|
||||
"3000": {
|
||||
"label": "Hello Remote World",
|
||||
"onAutoForward": "notify"
|
||||
},
|
||||
"6379": {
|
||||
"label": "Redis",
|
||||
"onAutoForward": "notify"
|
||||
}
|
||||
},
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
"postCreateCommand": "bun install",
|
||||
|
||||
// Use 'postStartCommand' to start the server automatically
|
||||
"postStartCommand": "bun run start",
|
||||
|
||||
"remoteUser": "root"
|
||||
}
|
Reference in New Issue
Block a user