Spaces:
Sleeping
Sleeping
| FROM python:3.13.5-slim | |
| WORKDIR /app | |
| COPY loader.py /app/loader.py | |
| RUN python -m pip install --upgrade pip \ | |
| && pip install --no-cache-dir fastapi uvicorn[standard] httpx | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| HEALTHCHECK CMD curl --fail http://localhost:7860/health || exit 1 | |
| CMD ["uvicorn", "loader:app", "--host", "0.0.0.0", "--port", "7860"] |