Download Dockerfile from nfb2021/testing: direct link, hf CLI and curl.
- Browser
- Download file 468 Bytes
-
https://huggingface.co/spaces/nfb2021/testing/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/nfb2021/testing/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/nfb2021/testing/resolve/main/Dockerfile
468 Bytes
| # syntax=docker/dockerfile:1.4 | |
| FROM python:3.13-slim | |
| COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv | |
| ENV UV_SYSTEM_PYTHON=1 \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| RUN useradd -m -u 1000 user | |
| COPY requirements.txt /app/requirements.txt | |
| RUN uv pip install -r /app/requirements.txt | |
| COPY --chown=user:user . /app | |
| USER user | |
| EXPOSE 7860 | |
| CMD ["marimo", "edit", "/app/01_naming_convention.py", "--host", "0.0.0.0", "--port", "7860"] | |