FROM python:3.9 WORKDIR /code ENV HF_HOME=/code/.cache/ COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY . . RUN gdown 1-2xLqBeuq6ypWyPEVdfslKU1GLgD9a1_ CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]