修改dockerfile加字体
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user