fix(docker): mark /app as safe git directory to resolve pre-commit er… (#10988)

Co-authored-by: Ray Myers <ray.myers@gmail.com>
This commit is contained in:
Yakshith
2025-10-27 16:26:34 -04:00
committed by GitHub
parent 8f94b68ea1
commit 8de13457c3

View File

@@ -104,6 +104,9 @@ RUN apt-get update && apt-get install -y \
&& apt-get clean \
&& apt-get autoremove -y
# mark /app as safe git directory to avoid pre-commit errors
RUN git config --system --add safe.directory /app
WORKDIR /app
# cache build dependencies