Spanicin commited on
Commit
a804a64
·
verified ·
1 Parent(s): 6f2854d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -6
Dockerfile CHANGED
@@ -33,12 +33,8 @@ WORKDIR $HOME/app
33
 
34
  COPY --chown=user . $HOME/app
35
 
36
- # Clone pretrained models and check if folder is created
37
- RUN git clone https://huggingface.co/fudan-generative-ai/hallo pretrained_models && \
38
- echo "Listing pretrained_models folder content:" && \
39
- ls -la pretrained_models && \
40
- echo "Listing pretrained_models/face_analysis/models folder content:" && \
41
- ls -la pretrained_models/face_analysis/models
42
 
43
  # Install Python dependencies
44
  RUN pip install --no-cache-dir -r requirements.txt
 
33
 
34
  COPY --chown=user . $HOME/app
35
 
36
+ RUN chmod +x scripts/download_models.sh
37
+ RUN bash scripts/download_models.sh
 
 
 
 
38
 
39
  # Install Python dependencies
40
  RUN pip install --no-cache-dir -r requirements.txt