Install debugging tools in the Docker container

This commit is contained in:
Ske 2019-12-23 15:50:02 +01:00
parent 9dd945ddd9
commit aeecffca70

View File

@ -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"]