Skip to content

Commit

Permalink
add soft link so that ffmpeg can be accessed at command prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
bearney74 committed Apr 3, 2017
1 parent 17d882d commit 1310c83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ RUN cd /var/src/moviepy/ && python setup.py install
# install ffmpeg from imageio.
RUN python -c "import imageio; imageio.plugins.ffmpeg.download()"

RUN ln -s /root/.imageio/ffmpeg/ffmpeg.linux64 /usr/bin/ffmpeg

# modify ImageMagick policy file so that Textclips work correctly.
RUN cat /etc/ImageMagick-6/policy.xml | sed 's/none/read,write/g'> /etc/ImageMagick-6/policy.xml

0 comments on commit 1310c83

Please sign in to comment.