From 662846fd1a68adfe6b93601700b7db2f9fa8c1f1 Mon Sep 17 00:00:00 2001 From: Ash Davies Date: Tue, 22 Jul 2025 15:13:38 +0100 Subject: [PATCH] Ensure appsettings locations are relative to the runtime --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index f1329f3c..87959750 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,6 +42,7 @@ RUN dotnet ef migrations bundle -r linux-x64 \ FROM mcr.microsoft.com/dotnet/aspnet:${DOTNET_VERSION}-azurelinux3.0 AS initcontainer WORKDIR /sql COPY --from=efbuilder /sql /sql +COPY --from=build /app/appsettings* /sql/ COPY --from=build /app/appsettings* /DfE.ExternalApplications.Api/ # Stage 3 - Build a runtime environment