From a21c68aea3e5927a95dbbdad28e849b2c5a303e3 Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Mon, 4 May 2026 15:16:27 +0000 Subject: [PATCH] Upgrade Docker base image from python:3.11 to python:3.13 python:3.11 causes a segfault when building with properdocs + mkdocs-static-i18n processing both zh and en locales (379 translated files). python:3.13 matches the local development environment and resolves the crash. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f07c0e3b..5504cbe8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN npm run lint # ============================ # Prepare Build Environment -FROM python:3.11 AS python-env +FROM python:3.13 AS python-env WORKDIR /app COPY --from=lint-env /app . RUN rm node_modules -rf && pip install -r requirements.txt