xdragxt commited on
Commit
ce187b4
·
verified ·
1 Parent(s): f6115ff

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -18,6 +18,10 @@
18
  RUN pip install uvicorn fastapi
19
 
20
  RUN bash installer.sh
 
 
 
 
21
 
22
  # Ensure writable dirs
23
  RUN mkdir -p /app/sessions && chmod -R 777 /app/sessions
 
18
  RUN pip install uvicorn fastapi
19
 
20
  RUN bash installer.sh
21
+
22
+ # Fix for Git's 'dubious ownership' error
23
+ RUN git config --global --add safe.directory /app
24
+
25
 
26
  # Ensure writable dirs
27
  RUN mkdir -p /app/sessions && chmod -R 777 /app/sessions