为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

@@ -12,6 +12,8 @@ COPY . .
# 安装依赖
RUN pip3 install -r requirements.txt
# edge-tts需要的依赖
RUN apt update && apt install ffmpeg -y
# 可选步骤,用于预热模块
RUN python3 -c 'from check_proxy import warm_up_modules; warm_up_modules()'