mirror of
https://github.com/Zulko/moviepy.git
synced 2021-07-27 01:17:47 +03:00
21 lines
622 B
Docker
21 lines
622 B
Docker
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
|