Spaces:
Runtime error
Runtime error
Download Dockerfile from BrainForge/Leaderboard: direct link, hf CLI and curl.
- Browser
- Download file 495 Bytes
-
https://huggingface.co/spaces/BrainForge/Leaderboard/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/BrainForge/Leaderboard/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/BrainForge/Leaderboard/resolve/main/Dockerfile
495 Bytes
| # Static dashboard served on the port Hugging Face Spaces expects (7860). | |
| # The app is a single HTML page + precomputed data; no backend logic is needed, | |
| # so a tiny static file server is all that's required. | |
| FROM python:3.12-slim | |
| WORKDIR /app | |
| # Only the files the browser actually needs. | |
| COPY index.html app.js data.js data.json ./ | |
| EXPOSE 7860 | |
| # Serve from /app on 0.0.0.0:7860. index.html is returned for "/". | |
| CMD ["python", "-m", "http.server", "7860", "--bind", "0.0.0.0"] | |