mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2026-05-18 21:31:26 +08:00
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>
This commit is contained in:
@@ -9,7 +9,7 @@ RUN npm run lint
|
|||||||
|
|
||||||
# ============================
|
# ============================
|
||||||
# Prepare Build Environment
|
# Prepare Build Environment
|
||||||
FROM python:3.11 AS python-env
|
FROM python:3.13 AS python-env
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=lint-env /app .
|
COPY --from=lint-env /app .
|
||||||
RUN rm node_modules -rf && pip install -r requirements.txt
|
RUN rm node_modules -rf && pip install -r requirements.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user