.NET 7.0.x -> .NET 8.0.x #4

Merged
DTieman merged 4 commits from dotnet-upgrade into developmaunt 2024-07-14 13:22:01 +00:00
Showing only changes of commit 094b5488a1 - Show all commits

View File

@@ -7,10 +7,10 @@ EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release ARG BUILD_CONFIGURATION=Release
WORKDIR /src WORKDIR /src
COPY ["MauMau-Server/MauMau-Server.csproj", "MauMau-Server/"] COPY MauMau-Server.csproj .
RUN dotnet restore "MauMau-Server/MauMau-Server.csproj" RUN dotnet restore "MauMau-Server.csproj"
COPY . . COPY . .
WORKDIR "/src/MauMau-Server" WORKDIR "/src"
RUN dotnet build "MauMau-Server.csproj" -c $BUILD_CONFIGURATION -o /app/build RUN dotnet build "MauMau-Server.csproj" -c $BUILD_CONFIGURATION -o /app/build
FROM build AS publish FROM build AS publish