File size: 509 Bytes
ece221a
 
 
 
 
17b9a14
 
 
 
 
 
 
 
 
 
 
 
06348fa
ece221a
 
06348fa
 
d3f7474
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM python:3.10

WORKDIR /app
COPY . .

RUN apt-get update && apt-get install -y \
    ffmpeg libgl1 libsm6 libxext6

RUN pip install --no-cache-dir -U pip setuptools wheel

# 🔥 force clean install
RUN pip uninstall -y huggingface-hub gradio gradio-client || true

RUN pip install --no-cache-dir \
    gradio==4.44.1 \
    gradio-client==1.3.0 \
    huggingface-hub>=0.23.0

RUN pip install --no-cache-dir -r requirements.txt

EXPOSE 7860

CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]