Skip to content

Commit

Permalink
docker: fix ffmpeg path
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jun 11, 2023
1 parent 0269959 commit 0cff8ad
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion install/docker/Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"
ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
ENV SCRYPTED_INSTALL_PATH="/server"
ENV SCRYPTED_FFMPEG_PATH="ffmpeg"

RUN test -f "/usr/bin/ffmpeg"
ENV SCRYPTED_FFMPEG_PATH="/usr/bin/ffmpeg"

# changing this forces pip and npm to perform reinstalls.
# if this base image changes, this version must be updated.
Expand Down
4 changes: 3 additions & 1 deletion install/docker/Dockerfile.lite
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"
ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
ENV SCRYPTED_INSTALL_PATH="/server"
ENV SCRYPTED_FFMPEG_PATH="ffmpeg"

RUN test -f "/usr/bin/ffmpeg"
ENV SCRYPTED_FFMPEG_PATH="/usr/bin/ffmpeg"

# changing this forces pip and npm to perform reinstalls.
# if this base image changes, this version must be updated.
Expand Down
4 changes: 3 additions & 1 deletion install/docker/Dockerfile.thin
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"
ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
ENV SCRYPTED_INSTALL_PATH="/server"
ENV SCRYPTED_FFMPEG_PATH="ffmpeg"

RUN test -f "/usr/bin/ffmpeg"
ENV SCRYPTED_FFMPEG_PATH="/usr/bin/ffmpeg"

# changing this forces pip and npm to perform reinstalls.
# if this base image changes, this version must be updated.
Expand Down
4 changes: 3 additions & 1 deletion install/docker/template/Dockerfile.full.footer
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"
ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
ENV SCRYPTED_INSTALL_PATH="/server"
ENV SCRYPTED_FFMPEG_PATH="ffmpeg"

RUN test -f "/usr/bin/ffmpeg"
ENV SCRYPTED_FFMPEG_PATH="/usr/bin/ffmpeg"

# changing this forces pip and npm to perform reinstalls.
# if this base image changes, this version must be updated.
Expand Down

0 comments on commit 0cff8ad

Please sign in to comment.