From 96d70fadb5c9cbce4cc5be0316e34970372516fa Mon Sep 17 00:00:00 2001 From: Kieran Date: Fri, 22 Dec 2023 13:31:52 +0000 Subject: [PATCH] fix docker build --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5a56cb3..27e561a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,12 +13,12 @@ RUN apt update && \ #run yarn install COPY . . -RUN cd VoidCat/spa \ +RUN git config --global --add safe.directory /app \ + && cd VoidCat/spa \ && npx yarn \ && npx yarn build RUN rm -rf VoidCat/appsettings.*.json \ - && git config --global --add safe.directory /app \ && dotnet publish -c Release -o out VoidCat/VoidCat.csproj # Build runtime image