Spaces:
Running
Running
| FROM python:3.12 | |
| COPY --from=ghcr.io/astral-sh/uv:0.6.14 /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 ./pyproject.toml pyproject.toml | |
| RUN uv sync | |
| COPY --chown=user . /app | |
| USER user | |
| CMD ["uv", "run", "marimo", "run", "app.py", "--include-code", "--host", "0.0.0.0", "--port", "7860"] | |