Removed subfolder from dockerfile
All checks were successful
All checks were successful
This commit is contained in:
@@ -7,10 +7,10 @@ EXPOSE 8081
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
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 $BUILD_CONFIGURATION -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
|
||||
Reference in New Issue
Block a user