From 6a6ef44132db1ac3d58aa045e5d005e32527b4c6 Mon Sep 17 00:00:00 2001 From: BXY0414 <1079823339@qq.com> Date: Tue, 24 Mar 2026 16:48:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=95=9C=E5=83=8F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 15 +++++++++++++++ prefect.yaml | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9196a85..7930a3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,27 @@ FROM python:3.12-slim ENV PYTHONDONTWRITEBYTECODE=1 \ PYTHONUNBUFFERED=1 \ + UV_SYSTEM_PYTHON=1 \ + UV_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple" \ TZ=Asia/Shanghai WORKDIR /app COPY requirements-docker.txt /app/requirements-docker.txt +RUN echo "# 清华大学 Debian 镜像源配置\n\ +# 主软件源\n\ +deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware\n\ +deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware\n\ +\n\ +# 安全更新源\n\ +deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware\n\ +deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware\n\ +\n\ +# 更新源\n\ +deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware\n\ +deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware" > /etc/apt/sources.list + RUN pip install --no-cache-dir --upgrade pip \ && pip install --no-cache-dir -r /app/requirements-docker.txt diff --git a/prefect.yaml b/prefect.yaml index 3e67d78..fefc022 100644 --- a/prefect.yaml +++ b/prefect.yaml @@ -22,7 +22,7 @@ deployments: - bitable - sync schedules: - - cron: "0 16 50 * *" + - cron: "0 17 * * *" timezone: "Asia/Shanghai" active: true work_pool: @@ -43,7 +43,7 @@ deployments: - feishu - notify schedules: - - cron: "0 17 30 * *" + - cron: "0 17 40 * *" timezone: "Asia/Shanghai" active: true work_pool: