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

* Test: change dockerfile to install ffmpeg

* Add the ffmpeg to dockerfile (required by edge-tts)
This commit is contained in:
Menghuan1918
2024-05-19 14:27:55 +08:00
committed by GitHub
parent 29daba5d2f
commit f2b67602bb
9 changed files with 22 additions and 2 deletions

View File

@@ -28,6 +28,8 @@ RUN python3 -m pip install -r request_llms/requirements_chatglm.txt
RUN python3 -m pip install -r request_llms/requirements_newbing.txt
RUN python3 -m pip install nougat-ocr
# edge-tts需要的依赖
RUN apt update && apt install ffmpeg -y
# 预热Tiktoken模块
RUN python3 -c 'from check_proxy import warm_up_modules; warm_up_modules()'