marimo-rtc / Dockerfile
mylessss's picture
fix rtc example
973f03c
raw
history blame
484 Bytes
FROM python:3.12
COPY --from=ghcr.io/astral-sh/uv:0.7.3 /uv /uvx /bin/
# Set environment variables
ENV VIRTUAL_ENV=/opt/venv \
PATH="/opt/venv/bin:$PATH"
# Create directories
RUN mkdir -p /data
# Set working directory
WORKDIR /data
# Install dependencies using uv and pyproject.toml
COPY ./pyproject.toml ./pyproject.toml
RUN uv sync
# Copy examples
COPY ./examples ./examples
CMD ["uv", "run", "marimo", "edit", "/data", "--host", "0.0.0.0", "--port", "7860", "--no-token"]