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