diff --git a/Dockerfile b/Dockerfile index 5e9fef0e7..63e8d9a51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,9 @@ COPY pyproject.toml . # 编译器 RUN apt-get update && apt-get install -y build-essential +COPY --from=mwader/static-ffmpeg:latest /ffmpeg /usr/local/bin/ffmpeg +COPY --from=mwader/static-ffmpeg:latest /ffprobe /usr/local/bin/ffprobe +RUN ldconfig && ffmpeg -version # 安装依赖 RUN uv sync