diff --git a/dockerfile b/dockerfile index 85f8cc6..6a08a4f 100644 --- a/dockerfile +++ b/dockerfile @@ -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"] EXPOSE 80 -RUN apt update && apt install ffmpeg -y -# RUN pip install static-ffmpeg ffmpeg +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 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 ./