Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -17,11 +17,10 @@ RUN pip install --no-cache-dir --upgrade pip==23.0
|
|
| 17 |
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
-
RUN mkdir -p /mannequin_to_model/.config/matplotlib /mannequin_to_model/.insightface && \
|
| 21 |
chmod -R 777 /mannequin_to_model
|
| 22 |
|
| 23 |
ENV MPLCONFIGDIR=/mannequin_to_model/.config/matplotlib
|
| 24 |
-
ENV INSIGHTFACE_CACHE_DIR=/mannequin_to_model/.insightface
|
| 25 |
|
| 26 |
EXPOSE 7860
|
| 27 |
|
|
|
|
| 17 |
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
+
RUN mkdir -p /mannequin_to_model/.config/matplotlib /mannequin_to_model/.insightface/models /mannequin_to_model/.cache/gdown && \
|
| 21 |
chmod -R 777 /mannequin_to_model
|
| 22 |
|
| 23 |
ENV MPLCONFIGDIR=/mannequin_to_model/.config/matplotlib
|
|
|
|
| 24 |
|
| 25 |
EXPOSE 7860
|
| 26 |
|