Debugging docker uses Debug config

This commit is contained in:
Jordan Brown
2020-04-24 15:17:37 -04:00
parent 44f8ae022e
commit 6db68e3d37
+2 -2
View File
@@ -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