🐛 Trying to fix again..

This commit is contained in:
2025-07-20 12:31:11 +08:00
parent 8f9e201637
commit 631eed0ea5
2 changed files with 2 additions and 6 deletions

View File

@@ -7,9 +7,8 @@ EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["DysonNetwork.Sphere/DysonNetwork.Sphere.csproj", "DysonNetwork.Sphere/"]
RUN dotnet restore "DysonNetwork.Sphere/DysonNetwork.Sphere.csproj"
COPY . .
RUN dotnet restore "DysonNetwork.Sphere/DysonNetwork.Sphere.csproj"
WORKDIR "/src/DysonNetwork.Sphere"
RUN dotnet build "./DysonNetwork.Sphere.csproj" -c $BUILD_CONFIGURATION -o /app/build