Download Dockerfile from OGrohit/ringguard: direct link, hf CLI and curl.
- Browser
- Download file 849 Bytes
-
https://huggingface.co/spaces/OGrohit/ringguard/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/OGrohit/ringguard/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/OGrohit/ringguard/resolve/main/Dockerfile
849 Bytes
| FROM python:3.11-slim | |
| # Phase 3 deployment — RingGuard FastAPI dashboard | |
| # Razorpay actions are precomputed and baked into cases_demo.json / audit_log.jsonl. | |
| # The deployed container only DISPLAYS these precomputed results; it does NOT | |
| # re-execute Razorpay calls or LLM calls on page load (per Phase 3 Section 6.2). | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy source code and precomputed results | |
| COPY agent/ agent/ | |
| COPY api/ api/ | |
| COPY audit/ audit/ | |
| COPY data/ data/ | |
| COPY graph/ graph/ | |
| COPY integration/ integration/ | |
| COPY scoring/ scoring/ | |
| COPY eval/ eval/ | |
| # HuggingFace Spaces expects port 7860 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # Start the FastAPI dashboard | |
| CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "7860"] | |