diff --git a/docs/GithubAction+AllCapacity b/docs/GithubAction+AllCapacity index 0ebc1d3cc..b9b421cfe 100644 --- a/docs/GithubAction+AllCapacity +++ b/docs/GithubAction+AllCapacity @@ -3,6 +3,9 @@ # 从NVIDIA源,从而支持显卡(检查宿主的nvidia-smi中的cuda版本必须>=11.3) FROM fuqingxu/11.3.1-runtime-ubuntu20.04-with-texlive:latest +# edge-tts需要的依赖,某些pip包所需的依赖 +RUN apt update && apt install ffmpeg build-essential -y + # use python3 as the system default python WORKDIR /gpt RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.8 @@ -28,8 +31,6 @@ 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()' diff --git a/docs/GithubAction+AllCapacityBeta b/docs/GithubAction+AllCapacityBeta index 263d5e9e2..e942926cb 100644 --- a/docs/GithubAction+AllCapacityBeta +++ b/docs/GithubAction+AllCapacityBeta @@ -5,6 +5,9 @@ # 从NVIDIA源,从而支持显卡(检查宿主的nvidia-smi中的cuda版本必须>=11.3) FROM fuqingxu/11.3.1-runtime-ubuntu20.04-with-texlive:latest +# edge-tts需要的依赖,某些pip包所需的依赖 +RUN apt update && apt install ffmpeg build-essential -y + # use python3 as the system default python WORKDIR /gpt RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.8 @@ -36,8 +39,6 @@ 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()' diff --git a/docs/GithubAction+ChatGLM+Moss b/docs/GithubAction+ChatGLM+Moss index 7ccdb2698..7ebb16854 100644 --- a/docs/GithubAction+ChatGLM+Moss +++ b/docs/GithubAction+ChatGLM+Moss @@ -5,6 +5,8 @@ RUN apt-get update RUN apt-get install -y curl proxychains curl gcc RUN apt-get install -y git python python3 python-dev python3-dev --fix-missing +# edge-tts需要的依赖,某些pip包所需的依赖 +RUN apt update && apt install ffmpeg build-essential -y # use python3 as the system default python RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.8 @@ -21,8 +23,6 @@ RUN python3 -m pip install -r request_llms/requirements_qwen.txt RUN python3 -m pip install -r request_llms/requirements_chatglm.txt RUN python3 -m pip install -r request_llms/requirements_newbing.txt -# edge-tts需要的依赖 -RUN apt update && apt install ffmpeg -y # 预热Tiktoken模块 RUN python3 -c 'from check_proxy import warm_up_modules; warm_up_modules()'