mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 15:27:54 +00:00
Install debugging tools in the Docker container
This commit is contained in:
parent
9dd945ddd9
commit
aeecffca70
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue