Update docker build.

This commit is contained in:
g* 2025-11-19 15:27:20 +01:00
commit 93ec3cc0f7

View file

@ -1,9 +1,9 @@
FROM python:3.11-slim AS builder FROM python:3.11-slim AS builder
WORKDIR /app WORKDIR /app
COPY requirements.txt . COPY pyproject.toml .
RUN pip install --no-cache-dir --upgrade -r requirements.txt RUN pip install --no-cache-dir .
COPY . . COPY . .
RUN mkdocs build RUN zensical build
FROM caddy:alpine FROM caddy:alpine
COPY --from=builder /app/site /usr/share/caddy COPY --from=builder /app/site /usr/share/caddy