12 lines
271 B
Docker
12 lines
271 B
Docker
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
|