修改dockerfile

This commit is contained in:
lmk
2026-06-22 18:10:17 +08:00
parent c03adc8d2c
commit 657a0c9b0b
+6
View File
@@ -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
# 复制二进制和运行时必需的文件