Spaces:
Sleeping
Sleeping
Download Dockerfile from cheekeong2025/IIP-Grading-loader: direct link, hf CLI and curl.
- Browser
- Download file 338 Bytes
-
https://huggingface.co/spaces/cheekeong2025/IIP-Grading-loader/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/cheekeong2025/IIP-Grading-loader/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/cheekeong2025/IIP-Grading-loader/resolve/main/Dockerfile
338 Bytes
| 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"] |