Spaces:
Running
Running
Download Dockerfile from marimo-team/marimo-rtc: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/spaces/marimo-team/marimo-rtc/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/marimo-team/marimo-rtc/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/marimo-team/marimo-rtc/resolve/main/Dockerfile
526 Bytes
| FROM python:3.12 | |
| COPY --from=ghcr.io/astral-sh/uv:0.7.3 /uv /uvx /bin/ | |
| # Set working directory | |
| WORKDIR /data | |
| # Create and set permissions for uv cache | |
| RUN mkdir -p /.cache/uv && chmod 777 /.cache/uv | |
| # Install dependencies using uv and pyproject.toml | |
| COPY ./pyproject.toml ./pyproject.toml | |
| RUN uv sync | |
| # Copy examples | |
| COPY ./examples ./examples | |
| RUN chmod -R 777 /data && \ | |
| mkdir -p /.config && \ | |
| chmod -R 777 /.config | |
| CMD ["uv", "run", "marimo", "edit", "/data", "--host", "0.0.0.0", "--port", "7860", "--no-token"] | |