Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 372 Bytes
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
WORKDIR /app/
COPY src/Evil-bot.ConsoleApp/*.csproj ./
RUN dotnet restore
COPY src/Evil-bot.ConsoleApp/. ./
RUN dotnet publish -c Release -o out
FROM mcr.microsoft.com/dotnet/core/runtime:3.1 AS runtime
WORKDIR /app
COPY --from=build /app/out ./
VOLUME [ "/app/Data" ]
ENTRYPOINT ["dotnet", "Evil-bot.ConsoleApp.dll"]
You can’t perform that action at this time.