Skip to content

Commit be13070

Browse files
authored
Merge pull request #114 from ComputerScienceHouse/mom/ffmpeg-fix
install ffmpeg so moviepy stops downloading
2 parents 9ddeb41 + 728cb6c commit be13070

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ RUN apt-get update && \
1111
's/rights="none" pattern="PDF"/rights="read | write" pattern="PDF"/' \
1212
/etc/ImageMagick-6/policy.xml && \
1313
rm -rf /var/lib/{apt,dpkg,cache,log}/ && \
14-
mkdir -p /opt/gallery /var/lib/gallery
14+
mkdir -p /opt/gallery /var/lib/gallery && \
15+
wget 'https://github.com/imageio/imageio-binaries/raw/504db2368125044a9da3bcfe031e1d9166fb7647/ffmpeg/ffmpeg-linux64-v3.3.1' && \
16+
mv ffmpeg-linux64-v3.3.1 /var/lib/gallery/ffmpeg
17+
18+
ENV FFMPEG_BINARY /var/lib/gallery/ffmpeg
1519

1620
RUN pip install --upgrade pip
1721

0 commit comments

Comments
 (0)