From db500d7476c11cc9bbefbd489212530be1b0db04 Mon Sep 17 00:00:00 2001 From: DTieman Date: Sun, 14 Apr 2024 13:08:33 +0200 Subject: [PATCH] Added csproj to Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 \