mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Fix Dockerfile
This commit is contained in:
parent
74424edc89
commit
2039a34c16
2 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue