ishworrsubedii commited on
Commit
65218fc
1 Parent(s): 5e93001

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -17,7 +17,11 @@ RUN pip install --no-cache-dir --upgrade pip==23.0
17
 
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
20
- RUN chmod -R 777 /mannequin_to_model
 
 
 
 
21
 
22
  EXPOSE 7860
23
 
 
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