FROM python:3.9 WORKDIR /code COPY . . RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt RUN pip install transformers==4.6.1 RUN mkdir ./.cache CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]