From 93ec3cc0f7f917850dc5457de08dea955a55c3a5 Mon Sep 17 00:00:00 2001 From: g* Date: Wed, 19 Nov 2025 15:27:20 +0100 Subject: [PATCH] Update docker build. --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa45b09..c3d3179 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM python:3.11-slim AS builder WORKDIR /app -COPY requirements.txt . -RUN pip install --no-cache-dir --upgrade -r requirements.txt +COPY pyproject.toml . +RUN pip install --no-cache-dir . COPY . . -RUN mkdocs build +RUN zensical build FROM caddy:alpine COPY --from=builder /app/site /usr/share/caddy -EXPOSE 80 \ No newline at end of file +EXPOSE 80