ashh757 commited on
Commit
94f1663
·
verified ·
1 Parent(s): da9089f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -26,6 +26,9 @@ RUN pip install --upgrade pip setuptools wheel \
26
  # Copy the application files
27
  COPY . /app
28
 
 
 
 
29
  # Stage 2: Final image
30
  FROM python:3.12-slim-bullseye
31
 
 
26
  # Copy the application files
27
  COPY . /app
28
 
29
+ # Configure Git to treat the directory as safe before switching to the final stage
30
+ RUN git config --global --add safe.directory /app
31
+
32
  # Stage 2: Final image
33
  FROM python:3.12-slim-bullseye
34