FROM python:3.11-slim WORKDIR /app RUN pip install --no-cache-dir fastapi uvicorn[standard] pydantic COPY . /app RUN mkdir -p /data EXPOSE 7860 CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]