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"]