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