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