mylessss's picture
marimo github notebooks on the fly
711d17c
raw
history blame contribute delete
384 Bytes
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
# Change these to the repo and path you want to serve
ENV GITHUB_REPO=marimo-team/marimo
ENV GITHUB_ROOT_DIR=examples/ui
# Create a cache directory with appropriate permissions
RUN mkdir -p /.cache/uv && chown -R 1000:1000 /.cache
COPY main.py .
COPY templates/ templates/
USER 1000
CMD ["uv", "run", "--no-project", "main.py"]