Spaces:
Sleeping
Sleeping
File size: 526 Bytes
966a439 973f03c 966a439 a1166f2 20faae8 973f03c a1166f2 973f03c a1166f2 6edc4e8 138b97a 973f03c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
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"]
|