Added basic documentation server

This commit is contained in:
2024-02-11 15:26:38 -06:00
parent 065d240468
commit c93df6d0d3
10 changed files with 111 additions and 8 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM docker.io/almalinux/9-minimal:latest
LABEL maintainer="n0x@n0xb0x.org"
COPY requirements.txt requirements.txt
RUN microdnf update -y \
&& microdnf install -y \
ca-certificates \
python3 \
python3-pip \
&& microdnf clean all && rm -fr /tmp/* /var/tmp/* \
&& pip3 install -r requirements.txt
EXPOSE 8081 80
WORKDIR /srv
CMD python -m http.server -d /srv/site 80
+1
View File
@@ -0,0 +1 @@
buildah bud -f Containerfile -t doc-web:1.0
+1
View File
@@ -0,0 +1 @@
site_name: My Docs
+2
View File
@@ -0,0 +1,2 @@
mkdocs==1.5.3