add .devcontainer/devcontainer.json
This commit is contained in:
parent
f2b8e2543d
commit
d2c976ade9
36
.devcontainer/devcontainer.json
Normal file
36
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,36 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// https://gitee.com/SuperIDE/DevContainerExample
|
||||
{
|
||||
"name": "DevContainerExample",
|
||||
// Base Development Container Images https://mcr.microsoft.com/en-us/product/devcontainers/base/about
|
||||
"image": "mcr.microsoft.com/devcontainers/base:dev-ubuntu-20.04",
|
||||
// 如上指定image生成容器,也可以通过如下通过Dockerfile来生成容器
|
||||
// "build": {
|
||||
// "dockerfile": "Dockerfile"
|
||||
// }
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {},
|
||||
// vscode extensions
|
||||
"extensions": [
|
||||
// "editorconfig.editorconfig",
|
||||
// "dbaeumer.vscode-eslint",
|
||||
// "golang.go",
|
||||
// "stylelint.vscode-stylelint",
|
||||
// "DavidAnson.vscode-markdownlint",
|
||||
// "Vue.volar",
|
||||
// "ms-azuretools.vscode-docker",
|
||||
// "vitest.explorer",
|
||||
// "cweijan.vscode-database-client2",
|
||||
// "GitHub.vscode-pull-request-github",
|
||||
// "Azurite.azurite"
|
||||
]
|
||||
}
|
||||
},
|
||||
"portsAttributes": {
|
||||
"3000": {
|
||||
"label": "Web Server",
|
||||
"onAutoForward": "notify"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user