Fix Dockerfile
This commit is contained in:
parent
74424edc89
commit
2039a34c16
@ -3,6 +3,7 @@
|
||||
|
||||
# Include project code and build files
|
||||
!PluralKit.*/
|
||||
!Myriad/
|
||||
!PluralKit.sln
|
||||
!nuget.config
|
||||
|
||||
|
@ -1,8 +1,9 @@
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.401
|
||||
FROM mcr.microsoft.com/dotnet/sdk:5.0
|
||||
WORKDIR /app
|
||||
|
||||
# Restore/fetch dependencies excluding app code to make use of caching
|
||||
COPY PluralKit.sln nuget.config /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/
|
||||
COPY PluralKit.Core/PluralKit.Core.csproj /app/PluralKit.Core/
|
||||
|
Loading…
Reference in New Issue
Block a user