kingkay000 commited on
Commit
844850e
·
verified ·
1 Parent(s): bf96e8b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -9,13 +9,14 @@ ENV DEBIAN_FRONTEND=noninteractive \
9
 
10
  USER root
11
  RUN apt-get update && apt-get install -y --no-install-recommends \
12
- python3-pip python3-dev git ffmpeg libgl1-mesa-glx libglib2.0-0 && \
13
  rm -rf /var/lib/apt/lists/*
14
 
15
  WORKDIR /app
16
 
17
  # Install Gradio and Torch explicitly first
18
- RUN pip3 install --no-cache-dir gradio torch torchvision torchaudio
 
19
 
20
  # Install the rest from requirements
21
  COPY requirements.txt .
 
9
 
10
  USER root
11
  RUN apt-get update && apt-get install -y --no-install-recommends \
12
+ python3-pip python3-dev git git-lfs ffmpeg libgl1-mesa-glx libglib2.0-0 && \
13
  rm -rf /var/lib/apt/lists/*
14
 
15
  WORKDIR /app
16
 
17
  # Install Gradio and Torch explicitly first
18
+ RUN pip3 install --no-cache-dir gradio torch torchvision torchaudio \
19
+ huggingface_hub hf_transfer
20
 
21
  # Install the rest from requirements
22
  COPY requirements.txt .