mirror of
https://github.com/dotnet/intro-to-dotnet-web-dev.git
synced 2025-12-06 05:32:03 +01:00
Update devcontainer.json
This commit is contained in:
parent
47750ac6c3
commit
12475eebe4
|
|
@ -8,22 +8,28 @@
|
|||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
"features": {},
|
||||
|
||||
// Configure tool-specific properties.
|
||||
"customizations": {
|
||||
// Configure properties specific to VS Code.
|
||||
"vscode": {
|
||||
"settings": {},
|
||||
"extensions": [
|
||||
"ms-dotnettools.csdevkit"
|
||||
]
|
||||
}
|
||||
},
|
||||
"forwardPorts": [
|
||||
5007,
|
||||
5101,
|
||||
5112
|
||||
],
|
||||
"postCreateCommand": "dotnet restore",
|
||||
"portsAttributes": {
|
||||
"5007": {
|
||||
"label": "Blazor Connect Four"
|
||||
},
|
||||
"5101": {
|
||||
"label": "RazorPagesPizza"
|
||||
},
|
||||
"5112": {
|
||||
"label": "Pizza API"
|
||||
}
|
||||
}
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [5000, 5001],
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
// "postCreateCommand": "dotnet restore",
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue