Skip to content

Commit

Permalink
updates to dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsKirsch committed Oct 16, 2023
1 parent ce5c308 commit 795489a
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": ".NET in Codespaces",
"image": "mcr.microsoft.com/dotnet/sdk:8.0-preview",
"features": {
"ghcr.io/devcontainers/features/docker-from-docker:1": {
"version": "20.10"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "2"
},
Expand All @@ -13,7 +11,8 @@
},
"ghcr.io/azure/azure-dev/azd:0": {
"version": "latest"
}
},
"ghcr.io/devcontainers/features/common-utils:2": {}
},
"customizations": {
"vscode": {
Expand All @@ -32,23 +31,23 @@
8080,
8081
],
"postCreateCommand": "dotnet restore",
"remoteUser": "vscode",
"postCreateCommand": "cd ./SampleApp && dotnet restore",
"hostRequirements": {
"memory": "8gb",
"cpus": 4
},
"remoteEnv": {
"PATH": "${containerWorkspaceFolder}/.dotnet:${containerEnv:PATH}",
"DOTNET_MULTILEVEL_LOOKUP": "0",
"TARGET": "net8.0"
},
"portsAttributes": {
"8080": {
"label": "Weather API"
"label": "Weather API",
"onAutoForward": "notify"
},
"8081": {
"label": "Weather Front End"
"label": "Weather Front End",
"onAutoForward": "notify"
}
}
}

0 comments on commit 795489a

Please sign in to comment.