Skip to content

Commit e41cd33

Browse files
committed
Dockerfile updated to use requirements.txt
1 parent ceb0666 commit e41cd33

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed

docker/sphinx/Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
FROM alpine:latest
22
WORKDIR /docs
33
RUN mkdir -p /etc/Sphinx/build
4+
ADD requirements.txt /etc/Sphinx/requirements.txt
45

56
RUN apk add --no-cache python3 make git py3-pip
67
RUN python3 -m venv .venv && \
78
source .venv/bin/activate && \
8-
pip install -U sphinx && \
9-
pip3 uninstall sphinx_rtd_theme && \
10-
pip3 install sphinx_rtd_theme sphinx-autobuild
9+
pip install -r /etc/Sphinx/requirements.txt
1110

1211
CMD .venv/bin/sphinx-autobuild -b html --host 0.0.0.0 --port 80 /etc/Sphinx/source /etc/Sphinx/build

docker/sphinx/requirements.txt

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
alabaster==0.7.16
2+
anyio==4.3.0
3+
Babel==2.15.0
4+
certifi==2024.2.2
5+
charset-normalizer==3.3.2
6+
click==8.1.7
7+
colorama==0.4.6
8+
docutils==0.20.1
9+
h11==0.14.0
10+
idna==3.7
11+
imagesize==1.4.1
12+
Jinja2==3.1.4
13+
MarkupSafe==2.1.5
14+
packaging==24.0
15+
Pygments==2.18.0
16+
requests==2.31.0
17+
sniffio==1.3.1
18+
snowballstemmer==2.2.0
19+
Sphinx==7.3.7
20+
sphinx-autobuild==2024.4.16
21+
sphinx-rtd-theme==2.0.0
22+
sphinxcontrib-applehelp==1.0.8
23+
sphinxcontrib-devhelp==1.0.6
24+
sphinxcontrib-htmlhelp==2.0.5
25+
sphinxcontrib-jquery==4.1
26+
sphinxcontrib-jsmath==1.0.1
27+
sphinxcontrib-qthelp==1.0.7
28+
sphinxcontrib-serializinghtml==1.1.10
29+
starlette==0.37.2
30+
urllib3==2.2.1
31+
uvicorn==0.29.0
32+
watchfiles==0.21.0
33+
websockets==12.0

0 commit comments

Comments
 (0)