Spaces:
Sleeping
Sleeping
Download Dockerfile from leadshello/Agent-Ai: direct link, hf CLI and curl.
- Browser
- Download file 478 Bytes
-
https://huggingface.co/spaces/leadshello/Agent-Ai/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/leadshello/Agent-Ai/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/leadshello/Agent-Ai/resolve/main/Dockerfile
478 Bytes
| FROM ghcr.io/get-convex/convex-backend:latest | |
| USER root | |
| # Install Python (for the dashboard), Nginx (for routing), and curl (for startup health check) | |
| RUN apt-get update && apt-get install -y python3 nginx curl && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY billing_dashboard.py /app/billing_dashboard.py | |
| COPY nginx.conf /etc/nginx/nginx.conf | |
| COPY start.sh /start.sh | |
| RUN chmod +x /start.sh | |
| # Hugging Face exposes this port | |
| EXPOSE 7860 | |
| ENTRYPOINT ["/bin/bash", "/start.sh"] |