mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-11-23 10:19:39 +00:00
11 lines
352 B
Docker
11 lines
352 B
Docker
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 AS base
|
|
COPY packages /root/.nuget/packages/
|
|
WORKDIR /src
|
|
COPY . .
|
|
RUN rm -rf ./packages
|
|
RUN git status
|
|
RUN dotnet build "CompatBot/CompatBot.csproj" -c Release
|
|
ENV RUNNING_IN_DOCKER true
|
|
WORKDIR /src/CompatBot
|
|
RUN dotnet run -c Release --dry-run
|
|
ENTRYPOINT ["dotnet", "run", "-c Release", "CompatBot.csproj"] |