FROM python:3.10 WORKDIR /app COPY . . RUN pip install --upgrade pip RUN pip install -r requirements.txt RUN apt-get update && apt-get install -y libgl1 EXPOSE 7860 CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]