fix: clean typing issues and refresh runtime dependencies

Align endpoint/module type hints and config reload handling while updating base Python image and package pins to improve build/runtime compatibility.

Made-with: Cursor
This commit is contained in:
DDSRem
2026-03-24 19:21:04 +08:00
parent aae50004b1
commit 517300afe9
14 changed files with 34 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
FROM python:3.12.8-slim-bookworm AS base
FROM python:3.12.13-slim-bookworm AS base
# 准备软件包
@@ -68,7 +68,7 @@ WORKDIR /app
COPY requirements.in requirements.in
RUN python3 -m venv ${VENV_PATH} \
&& pip install --upgrade "pip<25.0" \
&& pip install "Cython" "pip-tools<7.5" \
&& pip install "Cython~=3.1.2" "pip-tools<7.5" \
&& pip-compile requirements.in \
&& pip install -r requirements.txt