ramedde commited on
Commit
51e74e9
·
verified ·
1 Parent(s): 90875e1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -7
Dockerfile CHANGED
@@ -22,15 +22,17 @@ WORKDIR /app
22
  RUN pip install --no-cache-dir --upgrade pip
23
 
24
  COPY requirements.txt .
25
-
26
  RUN pip install --no-cache-dir -r requirements.txt
27
 
28
- RUN pip install --no-cache-dir \
29
- "huggingface-hub>=0.30" \
30
- "hf-transfer>=0.1.4" \
31
- uvicorn \
32
- websockets \
33
- spaces
 
 
 
34
 
35
  COPY --chown=user:user . /app
36
 
 
22
  RUN pip install --no-cache-dir --upgrade pip
23
 
24
  COPY requirements.txt .
 
25
  RUN pip install --no-cache-dir -r requirements.txt
26
 
27
+ # REMOVE the block below — it was overwriting huggingface_hub with an incompatible version
28
+ # RUN pip install --no-cache-dir \
29
+ # "huggingface-hub>=0.30" \
30
+ # "hf-transfer>=0.1.4" \
31
+ # uvicorn \
32
+ # websockets \
33
+ # spaces
34
+
35
+ RUN pip install --no-cache-dir uvicorn websockets spaces
36
 
37
  COPY --chown=user:user . /app
38