From bd3d9bc0d809242ff8dda08ab2e6ff415d6344fc Mon Sep 17 00:00:00 2001 From: spiral Date: Sun, 23 Jan 2022 01:52:41 -0500 Subject: [PATCH] fix Docker build --- .dockerignore | 1 + Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/.dockerignore b/.dockerignore index ab9de4ed..d5b32e97 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,6 +7,7 @@ !PluralKit.sln !nuget.config !.git +!proto # Re-exclude host build artifact directories **/bin diff --git a/Dockerfile b/Dockerfile index c1ace2e7..32c26a63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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