Spaces:
Runtime error
Runtime error
Download Dockerfile from marimo-team/chroma-multimodal: direct link, hf CLI and curl.
- Browser
- Download file 566 Bytes
-
https://huggingface.co/spaces/marimo-team/chroma-multimodal/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/marimo-team/chroma-multimodal/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/marimo-team/chroma-multimodal/resolve/main/Dockerfile
566 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 | |
| # Set up app directory with appropriate ownership | |
| RUN mkdir -p /app && chown -R user:user /app | |
| COPY --chown=user ./requirements.txt requirements.txt | |
| RUN uv pip install -r requirements.txt | |
| COPY --chown=user . /app | |
| # Ensure the user can write to the working directory | |
| RUN chmod -R u+w /app | |
| USER user | |
| CMD ["marimo", "run", "app.py", "--include-code", "--host", "0.0.0.0", "--port", "7860"] |