fffiloni commited on
Commit
986da8d
·
verified ·
1 Parent(s): 2a77a28

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -5,7 +5,10 @@ ENV DEBIAN_FRONTEND=noninteractive
5
  # Set the MKL_THREADING_LAYER environment variable to GNU
6
  ENV MKL_THREADING_LAYER=GNU
7
 
8
- RUN apt-get update && apt-get install -y git wget libgl1-mesa-glx libglib2.0-0 ffmpeg libx264-dev build-essential cmake
 
 
 
9
 
10
  RUN useradd -m -u 1000 user
11
 
@@ -31,7 +34,10 @@ 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==19.22" yacs scipy scikit-image scikit-learn PyYAML Pillow "numpy<2" opencv-python imageio ffmpeg-python av "moviepy<2" gradio
 
 
 
35
 
36
  COPY app.py .
37
 
 
5
  # Set the MKL_THREADING_LAYER environment variable to GNU
6
  ENV MKL_THREADING_LAYER=GNU
7
 
8
+ RUN apt-get update && apt-get install -y \
9
+ git wget libgl1-mesa-glx libglib2.0-0 ffmpeg libx264-dev \
10
+ build-essential cmake \
11
+ g++ python3-dev
12
 
13
  RUN useradd -m -u 1000 user
14
 
 
34
  RUN wget https://huggingface.co/camenduru/dreamtalk/resolve/main/damo/dreamtalk/checkpoints/renderer.pt -O $HOME/app/checkpoints/renderer.pt
35
 
36
  # Install dependencies
37
+ RUN pip install --no-cache-dir urllib3 transformers yacs scipy scikit-image scikit-learn PyYAML Pillow "numpy<2" opencv-python imageio ffmpeg-python av "moviepy<2" gradio
38
+ RUN git clone https://github.com/davisking/dlib.git && \
39
+ cd dlib && \
40
+ python setup.py install
41
 
42
  COPY app.py .
43