fffiloni commited on
Commit
6c80f71
·
verified ·
1 Parent(s): 1ed02b2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -31,7 +31,11 @@ RUN wget https://huggingface.co/camenduru/dreamtalk/resolve/main/damo/dreamtalk/
31
  RUN wget https://huggingface.co/camenduru/dreamtalk/resolve/main/damo/dreamtalk/checkpoints/renderer.pt -O $HOME/app/checkpoints/renderer.pt
32
 
33
  # Install dependencies
34
- RUN pip install --no-cache-dir urllib3 transformers dlib yacs scipy scikit-image scikit-learn PyYAML Pillow "numpy<2" opencv-python imageio ffmpeg-python av gradio "moviepy<2.0"
 
 
 
 
35
 
36
  COPY app.py .
37
 
 
31
  RUN wget https://huggingface.co/camenduru/dreamtalk/resolve/main/damo/dreamtalk/checkpoints/renderer.pt -O $HOME/app/checkpoints/renderer.pt
32
 
33
  # Install dependencies
34
+ # Install dlib from the provided wheel first
35
+ RUN wget -O dlib.whl https://www.piwheels.org/simple/dlib/dlib-19.24.6-cp311-cp311-linux_armv6l.whl && \
36
+ pip install --no-cache-dir dlib.whl && \
37
+ rm dlib.whl
38
+ RUN pip install --no-cache-dir urllib3 transformers yacs scipy scikit-image scikit-learn PyYAML Pillow "numpy<2" opencv-python imageio ffmpeg-python av gradio "moviepy<2.0"
39
 
40
  COPY app.py .
41