Dockerfile
24 lines
| 541 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 \ | ||||
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 | ||||
r5193 | ADD requirements_docs.txt /project | |||
r5195 | RUN \ | |||
python3 -m pip install -r requirements_docs.txt | ||||
CMD ["sphinx-build", "-M", "html", ".", "_build"] | ||||