fix(dockerfile): 修复 AI 分析环境

This commit is contained in:
xugo
2026-03-27 21:11:26 +08:00
parent 49b87149ad
commit c81373941b
+3 -1
View File
@@ -50,10 +50,12 @@ RUN sed -i 's|http://archive.ubuntu.com|http://mirrors.aliyun.com|g; s|http://se
# 安装运行时依赖(极简版)
# Ubuntu 24.04 已预装 libstdc++6, libgcc-s1, libssl3t64
# libpython3.12 是 MediaServer 内嵌 Python 3.12 解释器的核心依赖
# python3: analysis 脚本需要解释器
# libpython3.12: MediaServer 内嵌 Python 3.12 需要共享库(python3 包不含 .so
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
tzdata \
python3 \
libpython3.12 \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean