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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user