Ayeeee45 commited on
Commit
895ae98
·
verified ·
1 Parent(s): e025826

Update docker/Dockerfile

Browse files
Files changed (1) hide show
  1. docker/Dockerfile +4 -1
docker/Dockerfile CHANGED
@@ -1,5 +1,8 @@
1
  FROM debian:bookworm-slim AS builder
2
-
 
 
 
3
  RUN apt-get update && \
4
  apt-get install -y curl git python3 python3-pip python3-venv && \
5
  rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* && \
 
1
  FROM debian:bookworm-slim AS builder
2
+ # If using a Dockerfile, add before your app runs:
3
+ RUN pip install --upgrade gradio
4
+ # OR pin huggingface_hub:
5
+ RUN pip install "huggingface_hub>=0.23.0,<0.24.0"
6
  RUN apt-get update && \
7
  apt-get install -y curl git python3 python3-pip python3-venv && \
8
  rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* && \