Files
daily-robots/Dockerfile
yumao 5742dc47ed feat: LLM 解耦 bot、RSS 外置与内容过滤
daily 自建 Cursor bridge;DAILY_LLM_PROVIDER 控制后端;config/feeds.yaml 与 sensitive_words 可配置。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 15:24:58 +08:00

28 lines
557 B
Docker

FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
TZ=Asia/Shanghai
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends tzdata \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY daily/ daily/
COPY shared/ shared/
COPY skills/ skills/
COPY config/ config/
COPY run-daily.sh .
RUN chmod +x run-daily.sh \
&& mkdir -p output .cache logs
VOLUME ["/app/output", "/app/.cache", "/app/logs"]
ENTRYPOINT ["./run-daily.sh"]