ringguard / Dockerfile
Rohit Patil
RingGuard Phase 3 - initial HF Spaces deploy
753201e
Raw History Blame Contribute Delete
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"]