##// END OF EJS Templates
docs(build): custom docker image to build docs
docs(build): custom docker image to build docs

File last commit:

r5195:ec11e32c default
r5195:ec11e32c default
Show More
Dockerfile
24 lines | 541 B | text/x-dockerfile-config | DockerLexer
FROM python:3.12.0-bullseye
WORKDIR /project
RUN apt-get update \
&& apt-get install --no-install-recommends --yes \
curl \
zip \
graphviz \
imagemagick \
make \
&& 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
ADD requirements_docs.txt /project
RUN \
python3 -m pip install -r requirements_docs.txt
CMD ["sphinx-build", "-M", "html", ".", "_build"]