diff --git a/Dockerfile b/Dockerfile index 67353bac8..65932963f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -81,8 +81,9 @@ RUN \ -path "*/__pycache__/*" \ -exec rm -f {} \; -# Trust git directory, required for git >= 2.35.2 -RUN git config --global --add safe.directory /docs +# Trust directory, required for git >= 2.35.2 +RUN git config --global --add safe.directory /docs &&\ + git config --global --add safe.directory /site # Set working directory WORKDIR /docs