File size: 384 Bytes
711d17c 4545835 711d17c 4545835 711d17c 4545835 711d17c 4545835 711d17c 4545835 711d17c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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"]
|