Use the static_ffmpeg installation instead of apt ffmpeg
This commit is contained in:
parent
bf8ae36bec
commit
bae41bd34b
|
|
@ -8,8 +8,7 @@ ENV UID=1000 GID=1000 GIT_BRANCH=$GIT_BRANCH GIT_REVISION=$GIT_REVISION DATE=$DA
|
||||||
VOLUME ["/app/params", "/app/data", "/app/downloads", "/app/logs"]
|
VOLUME ["/app/params", "/app/data", "/app/downloads", "/app/logs"]
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
RUN apt update && apt install ffmpeg -y
|
RUN pip install static-ffmpeg && static_ffmpeg; ln -s /usr/local/lib/python3.12/site-packages/static_ffmpeg/bin/linux/ffmpeg /usr/bin/ffmpeg
|
||||||
# RUN pip install static-ffmpeg ffmpeg
|
|
||||||
RUN if [ "$TARGET_ARCH" = "arm" ] ; then apt install gcc python3-dev -y && apt-get autoremove && apt-get -y clean && rm -rf /var/lib/apt/lists/*; fi
|
RUN if [ "$TARGET_ARCH" = "arm" ] ; then apt install gcc python3-dev -y && apt-get autoremove && apt-get -y clean && rm -rf /var/lib/apt/lists/*; fi
|
||||||
|
|
||||||
COPY --chmod=755 entrypoint.sh ./
|
COPY --chmod=755 entrypoint.sh ./
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue