Download Dockerfile from marimo-team/github-notebooks-on-the-fly: direct link, hf CLI and curl.
- Browser
- Download file 384 Bytes
-
https://huggingface.co/spaces/marimo-team/github-notebooks-on-the-fly/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/marimo-team/github-notebooks-on-the-fly/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/marimo-team/github-notebooks-on-the-fly/resolve/main/Dockerfile
384 Bytes
| FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim | |
| # Change these to the repo and path you want to serve | |
| ENV GITHUB_REPO=marimo-team/marimo | |
| ENV GITHUB_ROOT_DIR=examples/ui | |
| # Create a cache directory with appropriate permissions | |
| RUN mkdir -p /.cache/uv && chown -R 1000:1000 /.cache | |
| COPY main.py . | |
| COPY templates/ templates/ | |
| USER 1000 | |
| CMD ["uv", "run", "--no-project", "main.py"] | |