Spaces:
Sleeping
Sleeping
Download Dockerfile from alonsosilva/apply_chat_template: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/spaces/alonsosilva/apply_chat_template/resolve/2e7213eb2c8c7dc4631376857d337feb6cd5a6c5/Dockerfile
- Command line
-
hf download hf://spaces/alonsosilva/apply_chat_template@2e7213eb2c8c7dc4631376857d337feb6cd5a6c5/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/alonsosilva/apply_chat_template/resolve/2e7213eb2c8c7dc4631376857d337feb6cd5a6c5/Dockerfile
376 Bytes
| FROM python:3.12 | |
| COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv | |
| RUN useradd -m -u 1000 user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| ENV UV_SYSTEM_PYTHON=1 | |
| WORKDIR /app | |
| COPY --chown=user ./requirements.txt requirements.txt | |
| RUN uv pip install -r requirements.txt | |
| COPY --chown=user . /app | |
| USER user | |
| CMD ["marimo", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"] | |