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