mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Fixes Dockerfile to delete requirements.txt.
Moved timezone initialization to texlife and made sure to delete requirements.txt in Dockerfile.
This commit is contained in:
parent
08926ad2aa
commit
da81ed4015
1 changed files with 6 additions and 5 deletions
11
Dockerfile
11
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
|
||||
|
|
Loading…
Add table
Reference in a new issue