restructure

This commit is contained in:
2023-03-21 09:41:48 +01:00
parent b7483d56a9
commit 1e4b69f83a
15 changed files with 3 additions and 3 deletions

View File

@@ -5,10 +5,10 @@ EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY ["MauMau-Server/MauMau-Server.csproj", "MauMau-Server/"]
RUN dotnet restore "MauMau-Server/MauMau-Server.csproj"
COPY ["MauMau-Server.csproj", "./"]
RUN dotnet restore "MauMau-Server.csproj"
COPY . .
WORKDIR "/src/MauMau-Server"
WORKDIR "/src"
RUN dotnet build "MauMau-Server.csproj" -c Release -o /app/build
FROM build AS publish