From d9aebee1fc6a386bf75e33137648e627a5979a86 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sat, 6 Apr 2024 18:50:45 +0200 Subject: [PATCH] [docker] Fix build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7020de83..7d4af65c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS builde ARG TARGETARCH WORKDIR /src -# copy csproj/fsproj and restore as distinct layers +# copy csproj/fsproj & nuget config, then restore as distinct layers +COPY NuGet.Config /src COPY Iceshrimp.Backend/*.csproj /src/Iceshrimp.Backend/ COPY Iceshrimp.Parsing/*.fsproj /src/Iceshrimp.Parsing/ COPY Iceshrimp.Frontend/*.csproj /src/Iceshrimp.Frontend/