From aeecffca707e35cfb4155a626ff79fde3b5ff1bf Mon Sep 17 00:00:00 2001 From: Ske Date: Mon, 23 Dec 2019 15:50:02 +0100 Subject: [PATCH] Install debugging tools in the Docker container --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 855737a1..369e96c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,9 @@ COPY . /app RUN dotnet publish -c Release -o out # TODO: is using aspnet correct here? Required for API but might break Bot -FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-alpine +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 COPY --from=build /app/PluralKit.*/bin/Release/netcoreapp3.1 ./ ENTRYPOINT ["dotnet"]