Add an base for docs

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2025-11-16 22:06:12 +01:00
parent e5855d5715
commit 823abf84b4
11 changed files with 845 additions and 10 deletions

11
docs/Containerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM python:3.14 AS builder
RUN apt-get update -y
RUN apt-get install -y pipx
RUN pip install poetry
WORKDIR /src
COPY . .
RUN python -m poetry install --no-root
RUN python -m poetry run mkdocs build
FROM nginxinc/nginx-unprivileged
COPY --from=builder /src/site /usr/share/nginx/html