Dockerfile
33 lines
| 733 B
| text/x-dockerfile-config
|
DockerLexer
/ docs / Dockerfile
r315 | FROM python:3.12.0-bullseye | |||
r312 | ||||
WORKDIR /project | ||||
r315 | ||||
RUN apt-get update \ | ||||
&& apt-get install --no-install-recommends --yes \ | ||||
r356 | curl \ | |||
zip \ | ||||
graphviz \ | ||||
r358 | dvipng \ | |||
r356 | imagemagick \ | |||
make \ | ||||
latexmk \ | ||||
texlive-latex-recommended \ | ||||
texlive-latex-extra \ | ||||
texlive-xetex \ | ||||
fonts-freefont-otf \ | ||||
texlive-fonts-recommended \ | ||||
texlive-lang-greek \ | ||||
tex-gyre \ | ||||
r315 | && apt-get autoremove \ | |||
&& apt-get clean \ | ||||
&& rm -rf /var/lib/apt/lists/* | ||||
RUN \ | ||||
python3 -m pip install --no-cache-dir --upgrade pip && \ | ||||
python3 -m pip install --no-cache-dir Sphinx Pillow | ||||
r313 | ADD requirements_docs.txt /project | |||
r315 | RUN \ | |||
python3 -m pip install -r requirements_docs.txt | ||||
CMD ["sphinx-build", "-M", "html", ".", "_build"] | ||||