feat(docreader): add health check

This commit is contained in:
wizardchen
2025-09-10 20:12:37 +08:00
committed by lyingbug
parent 8a2b38da6f
commit 6f6ca84dae
4 changed files with 22 additions and 1 deletions
+6
View File
@@ -114,7 +114,13 @@ RUN apt-get update && apt-get install -y \
libglu1-mesa \
libsm6 \
libreoffice \
curl \
&& rm -rf /var/lib/apt/lists/*
# 安装 grpc_health_probe
RUN GRPC_HEALTH_PROBE_VERSION=v0.4.24 && \
wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
chmod +x /bin/grpc_health_probe
# 从构建阶段复制已安装的依赖和生成的代码
COPY --from=builder /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages