2019-08-12 04:49:18 +00:00
|
|
|
FROM mcr.microsoft.com/dotnet/core/sdk:2.2-alpine AS build
|
2019-04-19 18:48:37 +00:00
|
|
|
|
|
|
|
WORKDIR /app
|
2019-08-12 04:49:18 +00:00
|
|
|
COPY . /app
|
|
|
|
RUN dotnet publish -c Release -o out
|
|
|
|
|
|
|
|
FROM mcr.microsoft.com/dotnet/core/runtime:2.2-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY --from=build /app/PluralKit.*/out ./
|
|
|
|
|
|
|
|
ENTRYPOINT ["dotnet"]
|
|
|
|
CMD ["PluralKit.Bot.dll"]
|
|
|
|
|