Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
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 |
|