##// END OF EJS Templates
docs(build): custom docker image to build docs
super-admin -
r5195:ec11e32c default
parent child Browse files
Show More
@@ -1,5 +1,24 b''
1 FROM sphinxdoc/sphinx
1 FROM python:3.12.0-bullseye
2 2
3 3 WORKDIR /project
4
5 RUN apt-get update \
6 && apt-get install --no-install-recommends --yes \
7 curl \
8 zip \
9 graphviz \
10 imagemagick \
11 make \
12 && apt-get autoremove \
13 && apt-get clean \
14 && rm -rf /var/lib/apt/lists/*
15
16 RUN \
17 python3 -m pip install --no-cache-dir --upgrade pip && \
18 python3 -m pip install --no-cache-dir Sphinx Pillow
19
4 20 ADD requirements_docs.txt /project
5 RUN pip3 install -r requirements_docs.txt
21 RUN \
22 python3 -m pip install -r requirements_docs.txt
23
24 CMD ["sphinx-build", "-M", "html", ".", "_build"]
General Comments 0
You need to be logged in to leave comments. Login now