riteshraut commited on
Commit
f2e217a
·
1 Parent(s): 43432c1
Files changed (1) hide show
  1. Dockerfile +0 -11
Dockerfile CHANGED
@@ -16,17 +16,6 @@ RUN useradd --create-home --shell /bin/bash --uid 1000 appuser
16
  # Copy and install Python requirements as root first
17
  COPY requirements.txt .
18
  RUN pip install --no-cache-dir --upgrade pip
19
-
20
- # Install huggingface-hub first to get the CLI
21
- RUN pip install --no-cache-dir huggingface-hub
22
-
23
- # Add this line to accept the HF_TOKEN secret
24
- ARG HF_TOKEN
25
-
26
- # Now you can log in
27
- RUN huggingface-cli login --token $HF_TOKEN
28
-
29
- # Install the rest of your requirements
30
  RUN pip install --no-cache-dir -r requirements.txt
31
 
32
  # Set environment variables for HuggingFace models and cache
 
16
  # Copy and install Python requirements as root first
17
  COPY requirements.txt .
18
  RUN pip install --no-cache-dir --upgrade pip
 
 
 
 
 
 
 
 
 
 
 
19
  RUN pip install --no-cache-dir -r requirements.txt
20
 
21
  # Set environment variables for HuggingFace models and cache