Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -17,6 +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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
CMD ["python", "main.py"]
|
|
|
|
| 17 |
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
+
ENV MPLCONFIGDIR=/tmp/matplotlib
|
| 21 |
+
|
| 22 |
+
RUN mkdir -p /mannequin_to_model/logs && chmod -R 777 /mannequin_to_model/logs
|
| 23 |
+
|
| 24 |
+
EXPOSE 7860
|
| 25 |
|
| 26 |
CMD ["python", "main.py"]
|