You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .devcontainer/DEVCONTAINER.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This project uses a DevContainer for consistent local development across all tea
6
6
7
7
-**Image Build**: `.devcontainer/Dockerfile` (based on `mcr.microsoft.com/devcontainers/dotnet:1-10.0-noble`)
8
8
-**Features**: Node.js 24+ and GitHub CLI
9
-
-**Post-create bootstrap**: Restores NuGet packages, runs frontend `npm ci`, and builds the solution
9
+
-**Post-create bootstrap**: Configures SSH permissions, trusts dev HTTPS certs, and installs frontend dependencies
10
10
11
11
## Git Credentials Setup
12
12
@@ -66,11 +66,11 @@ The container exports these environment variables:
66
66
67
67
The `postCreateCommand` runs automatically after container creation:
68
68
69
-
1.`dotnet restore BikeTracking.slnx`
70
-
2.`npm ci --prefix src/BikeTracking.Frontend`
71
-
3.`dotnet build BikeTracking.slnx`
69
+
1.Copies mounted host SSH files from `/root/.ssh-host` to `/root/.ssh` and applies secure file permissions
70
+
2.`dotnet dev-certs https --trust`
71
+
3.`npm ci --prefix src/BikeTracking.Frontend`
72
72
73
-
SDK/tool installation (required .NET SDK, CSharpier, Aspire CLI) is baked into the image build in `.devcontainer/Dockerfile`, not installed at container start.
73
+
SDK/tool installation and .NET dependency restore are baked into the image build in `.devcontainer/devcontainer.Dockerfile`, not installed at container start.
74
74
75
75
**Output**: Terminal shows progress; container is ready when build succeeds.
0 commit comments