FROM python:3.10.9 WORKDIR / RUN pip install --no-cache-dir --upgrade -r /requirements.txt RUN mkdir -p /.cache/huggingface/hub \ && chmod -R 777 /.cache/huggingface \ COPY . . CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]