mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
20 lines
486 B
Docker
20 lines
486 B
Docker
FROM python:3.7
|
|
RUN apt-get update \
|
|
&& apt-get install -qqy --no-install-recommends \
|
|
apt-utils \
|
|
ffmpeg \
|
|
sox \
|
|
libcairo2-dev \
|
|
texlive \
|
|
texlive-fonts-extra \
|
|
texlive-latex-extra \
|
|
texlive-latex-recommended \
|
|
texlive-science \
|
|
tipa \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY . /manim
|
|
RUN cd /manim \
|
|
&& python setup.py sdist \
|
|
&& python -m pip install dist/manimlib*
|
|
ENTRYPOINT ["/bin/bash"]
|