FROM python:3.10-slim WORKDIR /app COPY . . RUN pip install --upgrade pip RUN pip install -r requirments.txt # keep the name as is, or rename the file EXPOSE 7860 CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]