Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixes Dockerfile to delete requirements.txt.

Patrick Elsenda81ed40155f
diff --git a/Dockerfile b/Dockerfile
index 1b5b30bc9..26ea1b0e0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,10 +4,6 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -qqy
RUN apt-get install -qqy --no-install-recommends apt-utils
-# Setup timezone.
-ENV TZ=America/Los_Angeles
-RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
-
# Install Python 3.7.
WORKDIR /root
RUN apt-get install -qqy build-essential libsqlite3-dev sqlite3 bzip2 \
@@ -27,8 +23,13 @@ RUN rm -rf Python-3.7.0*
RUN apt-get install -qqy libcairo2-dev libjpeg-dev libgif-dev
COPY requirements.txt requirements.txt
RUN python3 -m pip install -r requirements.txt
-
+RUN rm requirements.txt
RUN apt-get install -qqy ffmpeg
+
+# Setup timezone, necessary for textlive.
+ENV TZ=America/Los_Angeles
+RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
+
RUN apt-get install -qqy apt-transport-https
RUN apt-get install -qqy texlive-full
RUN apt-get install -qqy sox