Build the first image

This commit is contained in:
2025-01-15 16:05:25 +01:00
parent 0a82d14fc2
commit 145be51142
13 changed files with 1869 additions and 6 deletions

11
Containerfile Normal file
View File

@ -0,0 +1,11 @@
FROM python:3.13 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 nginx:1.27.3
COPY --from=builder /src/site /usr/share/nginx/html