Spaces:
Sleeping
Sleeping
File size: 443 Bytes
7850d17 987a4cd 7850d17 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | FROM python:3.12-slim-trixie
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
RUN useradd -m -u 1000 appuser
COPY --chown=appuser:appuser . /app
ENV UV_NO_DEV=1
WORKDIR /app
USER appuser
RUN uv sync --locked
EXPOSE 7860
CMD ["uv", "run", "marimo", "run", "filter_engine.py", "--no-token", "--host", "0.0.0.0", "--port", "7860"]
|