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