forked from Zulko/moviepy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
20 lines (14 loc) · 622 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3
# Install numpy using system package manager
RUN apt-get -y update && apt-get -y install ffmpeg imagemagick
# Install some special fonts we use in testing, etc..
RUN apt-get -y install fonts-liberation
RUN apt-get install -y locales && \
locale-gen C.UTF-8 && \
/usr/sbin/update-locale LANG=C.UTF-8
ENV LC_ALL C.UTF-8
ADD . /var/src/moviepy/
#RUN git clone https://github.com/Zulko/moviepy.git /var/src/moviepy
RUN cd /var/src/moviepy/ && pip install .[optional]
# modify ImageMagick policy file so that Textclips work correctly.
RUN sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml