The directory for ffmpeg has to be created first

This commit is contained in:
RealStickman 2022-11-27 19:49:54 +01:00
parent f170ccab33
commit 4a7c0729f0

View File

@ -138,7 +138,8 @@ RUN if [ "$MODULE" = "Tdarr_Node" ]; then \
apt-get autoremove -y apt-get autoremove -y
# link jellyfin-ffmpeg version 5.1.2 to tdarr node ffmpeg # link jellyfin-ffmpeg version 5.1.2 to tdarr node ffmpeg
RUN ln -sf /usr/local/bin/ffmpeg /app/Tdarr_Node/node_modules/ffmpeg-static/ffmpeg RUN mkdir -p /app/Tdarr_Node/node_modules/ffmpeg-static/ && \
ln -sf /usr/local/bin/ffmpeg /app/Tdarr_Node/node_modules/ffmpeg-static/ffmpeg
EXPOSE ${NODE_PORT} EXPOSE ${NODE_PORT}
EXPOSE ${WEB_UI_PORT} EXPOSE ${WEB_UI_PORT}