base/.devcontainer/devcontainer.json
2024-12-27 09:39:05 +08:00

36 lines
1.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 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"
}
}
}