Spaces:
Sleeping
Sleeping
File size: 478 Bytes
19f3a73 910c56e 50ad04a 044fa40 696176f 044fa40 50ad04a 044fa40 910c56e 19f3a73 044fa40 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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"] |