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"]