Fix git safe.directory for mounted /repo in Docker

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-06 22:43:09 +03:00
parent c1aac7ecac
commit d10f25eb06
3 changed files with 8 additions and 1 deletions
+3
View File
@@ -20,6 +20,9 @@ RUN mkdir -p /app/uploads && adduser --disabled-password --gecos "" appuser \
USER appuser
ENV FLASK_APP=wsgi:app
ENV GIT_CONFIG_COUNT=1
ENV GIT_CONFIG_KEY_0=safe.directory
ENV GIT_CONFIG_VALUE_0=/repo
EXPOSE 8000