restructure
This commit is contained in:
@@ -5,10 +5,10 @@ EXPOSE 443
|
|||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
||||||
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 Release -o /app/build
|
RUN dotnet build "MauMau-Server.csproj" -c Release -o /app/build
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|||||||
Reference in New Issue
Block a user