修改dockerfile加字体

This commit is contained in:
lmk
2026-06-23 09:19:30 +08:00
parent 657a0c9b0b
commit e708075512
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ RUN python3 -c "import scenedetect; print(f'scenedetect {scenedetect.__version__
RUN npm install -g hyperframes --registry=https://registry.npmmirror.com/ --ignore-scripts
# HyperFrames 渲染需要 Chromium/Chrome
# 安装 Chromium(提供系统级共享库依赖)
RUN apk add --no-cache chromium
# 安装 Chromium(提供系统级共享库依赖)和中文字体
RUN apk add --no-cache chromium font-noto-cjk
# 下载 HyperFrames 需要的 headless-shell 浏览器
RUN npx hyperframes browser ensure