Show More
Dockerfile
39 lines
| 918 B
| text/x-dockerfile-config
|
DockerLexer
/ docs / Dockerfile
r5195 | FROM python:3.12.0-bullseye | |||
r5193 | ||||
WORKDIR /project | ||||
r5195 | ||||
RUN apt-get update \ | ||||
&& apt-get install --no-install-recommends --yes \ | ||||
r5505 | curl \ | |||
zip \ | ||||
graphviz \ | ||||
dvipng \ | ||||
imagemagick \ | ||||
make \ | ||||
latexmk \ | ||||
texlive-latex-recommended \ | ||||
texlive-latex-extra \ | ||||
texlive-xetex \ | ||||
fonts-freefont-otf \ | ||||
texlive-fonts-recommended \ | ||||
texlive-lang-greek \ | ||||
tex-gyre \ | ||||
r5195 | && apt-get autoremove \ | |||
&& apt-get clean \ | ||||
&& rm -rf /var/lib/apt/lists/* | ||||
r5505 | RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ | |||
unzip awscliv2.zip && \ | ||||
./aws/install && \ | ||||
rm -rf ./aws && \ | ||||
rm awscliv2.zip | ||||
r5195 | RUN \ | |||
python3 -m pip install --no-cache-dir --upgrade pip && \ | ||||
python3 -m pip install --no-cache-dir Sphinx Pillow | ||||
r5193 | ADD requirements_docs.txt /project | |||
r5195 | RUN \ | |||
python3 -m pip install -r requirements_docs.txt | ||||
CMD ["sphinx-build", "-M", "html", ".", "_build"] | ||||