Fix Dockerfile.admin: add SOR.Ai and SOR.Game to restore layer

SOR.Admin now references SOR.Ai (Phase 3 calibration pages), which
transitively depends on SOR.Game. Both csproj files must be copied
before dotnet restore or the layer cache miss causes NETSDK1004.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-04-12 18:47:54 -04:00
co-authored by Claude Happy
parent 27e1b7c8a3
commit 3ba138e4cd
+3 -1
View File
@@ -5,10 +5,12 @@ WORKDIR /src
COPY Directory.Build.props Directory.Packages.props ./
COPY SOR.slnx ./
# SOR.Admin depends transitively on networking abstractions via SOR.Shared.
# SOR.Admin depends on SOR.Ai (Phase 3 calibration), which pulls in SOR.Game.
COPY src/SOR.Admin/SOR.Admin.csproj src/SOR.Admin/
COPY src/SOR.Ai/SOR.Ai.csproj src/SOR.Ai/
COPY src/SOR.Cdn/SOR.Cdn.csproj src/SOR.Cdn/
COPY src/SOR.Database/SOR.Database.csproj src/SOR.Database/
COPY src/SOR.Game/SOR.Game.csproj src/SOR.Game/
COPY src/SOR.Shared/SOR.Shared.csproj src/SOR.Shared/
COPY src/SOR.Networking.Abstractions/SOR.Networking.Abstractions.csproj src/SOR.Networking.Abstractions/