fffiloni commited on
Commit
721b4b1
·
verified ·
1 Parent(s): 89fc60e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
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
 
@@ -27,7 +27,7 @@ WORKDIR $HOME/app
27
 
28
  RUN git clone -b dev https://github.com/camenduru/DragNUWA $HOME/app
29
 
30
- RUN wget https://huggingface.co/camenduru/DragNUWA/resolve/main/4799.pth -O $HOME/app/models/4799.pth
31
 
32
  # Install dependencies
33
  RUN pip install --no-cache-dir -r environment.txt
 
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 aria2
9
 
10
  RUN useradd -m -u 1000 user
11
 
 
27
 
28
  RUN git clone -b dev https://github.com/camenduru/DragNUWA $HOME/app
29
 
30
+ RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/camenduru/DragNUWA/resolve/main/4799.pth -d $HOME/app/models -o 4799.pth
31
 
32
  # Install dependencies
33
  RUN pip install --no-cache-dir -r environment.txt