Spaces:
Running
Running
Update Dockerfile
Browse files- 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 |
|