FROM python:3.10 WORKDIR /code # Install deps COPY requirements.txt . RUN pip install -r requirements.txt # Copy app COPY app.py . # Run with uvicorn CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]