meepmoo commited on
Commit
1999e9d
1 Parent(s): 00b5912

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -19,6 +19,9 @@ EXPOSE 80
19
 
20
  USER zebraslive
21
 
 
 
 
22
  RUN pip install -q torch==2.4.0+cu121 torchvision==0.19.0+cu121 torchaudio==2.4.0+cu121 torchtext==0.18.0 torchdata==0.8.0 --extra-index-url https://download.pytorch.org/whl/cu121 \
23
  tqdm==4.66.5 numpy==1.26.3 imageio==2.35.1 imageio-ffmpeg==0.5.1 xformers==0.0.27.post2 diffusers==0.30.3 moviepy==1.0.3 transformers==4.44.2 accelerate==0.33.0 sentencepiece==0.2.0 pillow==9.5.0 runpod && \
24
  aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/alibaba-pai/CogVideoX-Fun-V1.1-5b-InP/raw/main/scheduler/scheduler_config.json -d /content/model/scheduler -o scheduler_config.json && \
@@ -44,8 +47,6 @@ COPY ./asset /content/asset
44
  COPY ./config /content/config
45
  COPY ./datasets /content/datasets
46
  COPY ./reports /content/reports
47
- COPY ./requirements.txt /content/requirements.txt
48
- RUN pip install -r /content/requirements.txt
49
 
50
  # Copy the README.md
51
  COPY README.md /usr/share/nginx/html/README.md
 
19
 
20
  USER zebraslive
21
 
22
+ COPY ./requirements.txt /content/requirements.txt
23
+ RUN pip install -r /content/requirements.txt
24
+
25
  RUN pip install -q torch==2.4.0+cu121 torchvision==0.19.0+cu121 torchaudio==2.4.0+cu121 torchtext==0.18.0 torchdata==0.8.0 --extra-index-url https://download.pytorch.org/whl/cu121 \
26
  tqdm==4.66.5 numpy==1.26.3 imageio==2.35.1 imageio-ffmpeg==0.5.1 xformers==0.0.27.post2 diffusers==0.30.3 moviepy==1.0.3 transformers==4.44.2 accelerate==0.33.0 sentencepiece==0.2.0 pillow==9.5.0 runpod && \
27
  aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/alibaba-pai/CogVideoX-Fun-V1.1-5b-InP/raw/main/scheduler/scheduler_config.json -d /content/model/scheduler -o scheduler_config.json && \
 
47
  COPY ./config /content/config
48
  COPY ./datasets /content/datasets
49
  COPY ./reports /content/reports
 
 
50
 
51
  # Copy the README.md
52
  COPY README.md /usr/share/nginx/html/README.md