From 657a0c9b0b88eadbc4bed7f8cd66692560606de7 Mon Sep 17 00:00:00 2001 From: lmk <1095689763@qq.com> Date: Mon, 22 Jun 2026 18:10:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6031e6e..da2a519 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,6 +47,12 @@ RUN python3 -c "import scenedetect; print(f'scenedetect {scenedetect.__version__ # 使用 npmmirror 镜像加速 RUN npm install -g hyperframes --registry=https://registry.npmmirror.com/ --ignore-scripts +# HyperFrames 渲染需要 Chromium/Chrome +# 安装 Chromium(提供系统级共享库依赖) +RUN apk add --no-cache chromium +# 下载 HyperFrames 需要的 headless-shell 浏览器 +RUN npx hyperframes browser ensure + WORKDIR /app # 复制二进制和运行时必需的文件