Update devcontainer.json

This commit is contained in:
James Montemagno 2024-01-17 13:53:20 -08:00 committed by GitHub
parent 47750ac6c3
commit 12475eebe4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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