Install debugging tools in the Docker container
This commit is contained in:
parent
9dd945ddd9
commit
aeecffca70
@ -5,8 +5,9 @@ COPY . /app
|
|||||||
RUN dotnet publish -c Release -o out
|
RUN dotnet publish -c Release -o out
|
||||||
|
|
||||||
# TODO: is using aspnet correct here? Required for API but might break Bot
|
# 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
|
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 ./
|
COPY --from=build /app/PluralKit.*/bin/Release/netcoreapp3.1 ./
|
||||||
|
|
||||||
ENTRYPOINT ["dotnet"]
|
ENTRYPOINT ["dotnet"]
|
||||||
|
Loading…
Reference in New Issue
Block a user