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
|
|
@ -6,24 +6,30 @@
|
||||||
"image": "mcr.microsoft.com/devcontainers/dotnet:8.0",
|
"image": "mcr.microsoft.com/devcontainers/dotnet:8.0",
|
||||||
|
|
||||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
"features": {},
|
"features": {},
|
||||||
|
|
||||||
// Configure tool-specific properties.
|
|
||||||
"customizations": {
|
"customizations": {
|
||||||
// Configure properties specific to VS Code.
|
"vscode": {
|
||||||
"vscode": {
|
"extensions": [
|
||||||
"settings": {},
|
"ms-dotnettools.csdevkit"
|
||||||
"extensions": [
|
]
|
||||||
"ms-dotnettools.csdevkit"
|
}
|
||||||
]
|
},
|
||||||
}
|
"forwardPorts": [
|
||||||
}
|
5007,
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
5101,
|
||||||
// "forwardPorts": [5000, 5001],
|
5112
|
||||||
|
],
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
"postCreateCommand": "dotnet restore",
|
||||||
// "postCreateCommand": "dotnet restore",
|
"portsAttributes": {
|
||||||
|
"5007": {
|
||||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
"label": "Blazor Connect Four"
|
||||||
// "remoteUser": "root"
|
},
|
||||||
|
"5101": {
|
||||||
|
"label": "RazorPagesPizza"
|
||||||
|
},
|
||||||
|
"5112": {
|
||||||
|
"label": "Pizza API"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue