diff --git a/Dockerfile b/Dockerfile index 04bc71f..6c31748 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,13 +8,13 @@ ARG BUILDPLATFORM WORKDIR /src COPY *.csproj . -RUN dotnet restore -r +RUN dotnet restore "MauMau-Server.csproj" COPY . . WORKDIR "/src" -RUN dotnet build -c Release -o /app/build -a $TARGETARCH +RUN dotnet build "MauMau-Server.csproj" -c Release -o /app/build -a $TARGETARCH FROM build AS publish -RUN dotnet public -c Release -o /app/publish \ +RUN dotnet public "MauMau-Server.csproj" -c Release -o /app/publish \ --self-contained true \ /p:PublishTrimmed=true \ /p:PublishSingleFile=true \