PluralKit/Dockerfile

15 lines
455 B
Docker
Raw Normal View History

2019-12-22 00:40:57 +01:00
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS build
2019-04-19 20:48:37 +02:00
WORKDIR /app
2019-08-12 06:49:18 +02:00
COPY . /app
2019-12-23 18:46:58 +01:00
RUN dotnet publish -c Release -o out -f netcoreapp3.1
2019-08-12 06:49:18 +02:00
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine
2019-08-12 06:49:18 +02:00
WORKDIR /app
RUN dotnet tool install --global dotnet-trace && dotnet tool install --global dotnet-dump && dotnet tool install --global dotnet-counters
2019-12-22 00:40:57 +01:00
COPY --from=build /app/PluralKit.*/bin/Release/netcoreapp3.1 ./
2019-08-12 06:49:18 +02:00
ENTRYPOINT ["dotnet"]
CMD ["PluralKit.Bot.dll"]