Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -18,7 +18,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 18 |
|
| 19 |
# Create necessary directories and set permissions
|
| 20 |
RUN mkdir -p /tmp/.config/matplotlib /tmp/.insightface/models /tmp/.cache/gdown && \
|
| 21 |
-
chmod -R 777 /tmp
|
|
|
|
|
|
|
| 22 |
|
| 23 |
# Set environment variables
|
| 24 |
ENV MPLCONFIGDIR=/tmp/.config/matplotlib
|
|
|
|
| 18 |
|
| 19 |
# Create necessary directories and set permissions
|
| 20 |
RUN mkdir -p /tmp/.config/matplotlib /tmp/.insightface/models /tmp/.cache/gdown && \
|
| 21 |
+
chmod -R 777 /tmp && \
|
| 22 |
+
chmod -R 777 /mannequin_to_model
|
| 23 |
+
|
| 24 |
|
| 25 |
# Set environment variables
|
| 26 |
ENV MPLCONFIGDIR=/tmp/.config/matplotlib
|