Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -5
Dockerfile
CHANGED
@@ -5,7 +5,7 @@ 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,10 +31,6 @@ 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 |
-
# 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 .
|
|
|
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 python3-dlib
|
9 |
|
10 |
RUN useradd -m -u 1000 user
|
11 |
|
|
|
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 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 .
|