Fix Docker build with new D.NET

This commit is contained in:
Ske
2019-12-23 18:46:58 +01:00
parent 1c184825e3
commit 750aa61d62
2 changed files with 2 additions and 3 deletions

View File

@@ -2,9 +2,8 @@ FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS build
WORKDIR /app
COPY . /app
RUN dotnet publish -c Release -o out
RUN dotnet publish -c Release -o out -f netcoreapp3.1
# TODO: is using aspnet correct here? Required for API but might break Bot
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine
WORKDIR /app
RUN dotnet tool install --global dotnet-trace && dotnet tool install --global dotnet-dump && dotnet tool install --global dotnet-counters