mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-10 10:10:36 +08:00
fix(docker): use static ffmpeg with amr support (fixes #5912)
This commit is contained in:
@@ -41,7 +41,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
iproute2 \
|
||||
netcat-openbsd \
|
||||
lsof \
|
||||
ffmpeg \
|
||||
nano \
|
||||
libjemalloc2 \
|
||||
&& dpkg-reconfigure --frontend noninteractive tzdata \
|
||||
@@ -114,6 +113,10 @@ FROM prepare_package AS final
|
||||
|
||||
ENV LD_PRELOAD="/usr/local/lib/libjemalloc.so"
|
||||
|
||||
# 引入支持 amr 编码的静态 ffmpeg
|
||||
COPY --from=mwader/static-ffmpeg:7.1.0 /ffmpeg /usr/local/bin/
|
||||
COPY --from=mwader/static-ffmpeg:7.1.0 /ffprobe /usr/local/bin/
|
||||
|
||||
# python 环境
|
||||
COPY --from=prepare_venv --chmod=777 ${VENV_PATH} ${VENV_PATH}
|
||||
COPY --from=prepare_venv /usr/local/bin/uv /usr/local/bin/uv
|
||||
|
||||
Reference in New Issue
Block a user