diff --git a/Dockerfile b/Dockerfile index 3393eb26..12928815 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build WORKDIR /app # Restore/fetch dependencies excluding app code to make use of caching +COPY PluralKit.sln /app/ COPY Myriad/Myriad.csproj /app/Myriad/ COPY PluralKit.API/PluralKit.API.csproj /app/PluralKit.API/ COPY PluralKit.Bot/PluralKit.Bot.csproj /app/PluralKit.Bot/ @@ -23,4 +24,4 @@ COPY --from=build /app ./ # Allow overriding CMD from eg. docker-compose to run API layer too ENTRYPOINT ["dotnet"] -CMD ["bin/PluralKit.Bot.dll"] \ No newline at end of file +CMD ["bin/PluralKit.Bot.dll"]