File tree Expand file tree Collapse file tree 1 file changed +24
-18
lines changed Expand file tree Collapse file tree 1 file changed +24
-18
lines changed Original file line number Diff line number Diff line change 6
6
"image" : " mcr.microsoft.com/devcontainers/dotnet:8.0" ,
7
7
8
8
// Features to add to the dev container. More info: https://containers.dev/features.
9
- "features" : {},
9
+ "features" : {},
10
10
11
- // Configure tool-specific properties.
12
11
"customizations" : {
13
- // Configure properties specific to VS Code.
14
- "vscode" : {
15
- "settings" : {},
16
- "extensions" : [
17
- " ms-dotnettools.csdevkit"
18
- ]
19
- }
20
- }
21
- // Use 'forwardPorts' to make a list of ports inside the container available locally.
22
- // "forwardPorts": [5000, 5001],
23
-
24
- // Use 'postCreateCommand' to run commands after the container is created.
25
- // "postCreateCommand": "dotnet restore",
26
-
27
- // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
28
- // "remoteUser": "root"
12
+ "vscode" : {
13
+ "extensions" : [
14
+ " ms-dotnettools.csdevkit"
15
+ ]
16
+ }
17
+ },
18
+ "forwardPorts" : [
19
+ 5007 ,
20
+ 5101 ,
21
+ 5112
22
+ ],
23
+ "postCreateCommand" : " dotnet restore" ,
24
+ "portsAttributes" : {
25
+ "5007" : {
26
+ "label" : " Blazor Connect Four"
27
+ },
28
+ "5101" : {
29
+ "label" : " RazorPagesPizza"
30
+ },
31
+ "5112" : {
32
+ "label" : " Pizza API"
33
+ }
34
+ }
29
35
}
You can’t perform that action at this time.
0 commit comments