diff --git a/Dockerfile b/Dockerfile index 1b2314970..2bc60833b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ RUN python -m pip install uv RUN uv pip install -r requirements.txt --no-cache-dir --system -RUN uv pip install socksio uv pyffmpeg --no-cache-dir --system +RUN uv pip install socksio uv pyffmpeg pilk --no-cache-dir --system + +# 释出 ffmpeg +RUN python -c "from pyffmpeg import FFmpeg; ff = FFmpeg();" + +# add /root/.pyffmpeg/bin/ffmpeg to PATH, inorder to use ffmpeg +RUN echo 'export PATH=$PATH:/root/.pyffmpeg/bin' >> ~/.bashrc EXPOSE 6185 EXPOSE 6186