fix Docker build

This commit is contained in:
spiral 2022-01-23 01:52:41 -05:00
parent 8ce7465177
commit bd3d9bc0d8
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@
!PluralKit.sln
!nuget.config
!.git
!proto
# Re-exclude host build artifact directories
**/bin

View File

@ -10,6 +10,7 @@ COPY PluralKit.Core/PluralKit.Core.csproj /app/PluralKit.Core/
COPY PluralKit.ScheduledTasks/PluralKit.ScheduledTasks.csproj /app/PluralKit.ScheduledTasks/
COPY PluralKit.Tests/PluralKit.Tests.csproj /app/PluralKit.Tests/
COPY .git/ /app/.git
COPY proto/ /app/proto
RUN dotnet restore PluralKit.sln
# Copy the rest of the code and build