From b07119989566d49cf6dabb6286de32aa4d9a26a4 Mon Sep 17 00:00:00 2001 From: Deeman Date: Sat, 7 Mar 2026 15:03:44 +0100 Subject: [PATCH] fix(docker): copy content/ directory into image content/articles/ holds the cornerstone .md source files which _sync_static_articles() reads on every /admin/articles load. Without this COPY they were absent from the container. Co-Authored-By: Claude Sonnet 4.6 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 6e76218..4919f71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,7 @@ RUN mkdir -p /app/data && chown -R appuser:appuser /app COPY --from=build --chown=appuser:appuser /app . COPY --from=css-build /app/web/src/padelnomics/static/css/output.css ./web/src/padelnomics/static/css/output.css COPY --chown=appuser:appuser infra/supervisor/workflows.toml ./infra/supervisor/workflows.toml +COPY --chown=appuser:appuser content/ ./content/ USER appuser ENV PYTHONUNBUFFERED=1 ENV DATABASE_PATH=/app/data/app.db