-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (32 loc) · 859 Bytes
/
Dockerfile
File metadata and controls
35 lines (32 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM python:3.8.12-slim-bullseye
LABEL maintainer="Morten Frellumstad"
WORKDIR /docs
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
pandoc \
graphviz \
imagemagick \
make \
git \
latexmk \
lmodern \
fonts-freefont-otf \
texlive-latex-recommended \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-fonts-extra \
texlive-lang-cjk \
texlive-lang-chinese \
texlive-lang-japanese \
texlive-luatex \
texlive-xetex \
xindy \
tex-gyre \
&& apt-get autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /docs
RUN python3 -m pip install --no-cache-dir -U pip
RUN python3 -m pip install --no-cache-dir -r requirements.txt # Sphinx==4.4.0 Pillow
ENV VIRTUAL_ENV=""
CMD ["make", "html"]