File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " .NET in Codespaces" ,
3
3
"image" : " mcr.microsoft.com/dotnet/sdk:8.0-preview" ,
4
4
"features" : {
5
- "ghcr.io/devcontainers/features/docker-from-docker:1" : {
6
- "version" : " 20.10"
7
- },
5
+ "ghcr.io/devcontainers/features/docker-in-docker:2" : {},
8
6
"ghcr.io/devcontainers/features/github-cli:1" : {
9
7
"version" : " 2"
10
8
},
13
11
},
14
12
"ghcr.io/azure/azure-dev/azd:0" : {
15
13
"version" : " latest"
16
- }
14
+ },
15
+ "ghcr.io/devcontainers/features/common-utils:2" : {}
17
16
},
18
17
"customizations" : {
19
18
"vscode" : {
32
31
8080 ,
33
32
8081
34
33
],
35
- "postCreateCommand" : " dotnet restore" ,
36
- "remoteUser" : " vscode" ,
34
+ "postCreateCommand" : " cd ./SampleApp && dotnet restore" ,
37
35
"hostRequirements" : {
38
36
"memory" : " 8gb" ,
39
37
"cpus" : 4
40
38
},
41
39
"remoteEnv" : {
42
- "PATH" : " ${containerWorkspaceFolder}/.dotnet:${containerEnv:PATH}" ,
43
40
"DOTNET_MULTILEVEL_LOOKUP" : " 0" ,
44
41
"TARGET" : " net8.0"
45
42
},
46
43
"portsAttributes" : {
47
44
"8080" : {
48
- "label" : " Weather API"
45
+ "label" : " Weather API" ,
46
+ "onAutoForward" : " notify"
49
47
},
50
48
"8081" : {
51
- "label" : " Weather Front End"
49
+ "label" : " Weather Front End" ,
50
+ "onAutoForward" : " notify"
52
51
}
53
52
}
54
53
}
You can’t perform that action at this time.
0 commit comments