为docker构建添加FFmpeg依赖 (#1807)

* Test: change dockerfile to install ffmpeg

* Add the ffmpeg to dockerfile (required by edge-tts)
这个提交包含在:
Menghuan1918
2024-05-19 14:27:55 +08:00
提交者 GitHub
父节点 29daba5d2f
当前提交 f2b67602bb
共有 9 个文件被更改,包括 22 次插入2 次删除

查看文件

@@ -19,6 +19,9 @@ RUN pip3 install transformers protobuf langchain sentence-transformers faiss-cp
RUN pip3 install unstructured[all-docs] --upgrade
RUN python3 -c 'from check_proxy import warm_up_vectordb; warm_up_vectordb()'
# edge-tts需要的依赖
RUN apt update && apt install ffmpeg -y
# 可选步骤,用于预热模块
RUN python3 -c 'from check_proxy import warm_up_modules; warm_up_modules()'