From 6db68e3d3718afd8b60389c1708d5fc179440de1 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Fri, 24 Apr 2020 15:17:37 -0400 Subject: [PATCH] Debugging docker uses Debug config --- src/Tgstation.Server.Host/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tgstation.Server.Host/Dockerfile b/src/Tgstation.Server.Host/Dockerfile index 3e1b6d9178..3138161af8 100644 --- a/src/Tgstation.Server.Host/Dockerfile +++ b/src/Tgstation.Server.Host/Dockerfile @@ -13,10 +13,10 @@ COPY ["src/Tgstation.Server.Api/Tgstation.Server.Api.csproj", "src/Tgstation.Ser RUN dotnet restore "src/Tgstation.Server.Host/Tgstation.Server.Host.csproj" COPY . . WORKDIR "/src/src/Tgstation.Server.Host" -RUN dotnet build "Tgstation.Server.Host.csproj" -c Release -o /app/build +RUN dotnet build "Tgstation.Server.Host.csproj" -c Debug -o /app/build FROM build AS publish -RUN dotnet publish "Tgstation.Server.Host.csproj" -c Release -o /app/publish +RUN dotnet publish "Tgstation.Server.Host.csproj" -c Debug -o /app/publish FROM base AS final WORKDIR /app