From 41416642e7cc1fa2f203ace551a64a70e7dd49ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peider=20K=C3=B6nz?= Date: Mon, 22 Dec 2025 10:48:48 +0100 Subject: [PATCH] add indications in Dockerfile to download Liberation Sans font --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 147d6b00..59515415 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,11 @@ FROM dockerhub.apps.cp.meteoswiss.ch/mch/python-3.10:latest-slim AS base ARG VERSION LABEL ch.meteoswiss.project=pyflexplot-${VERSION} +# Install system fonts used by matplotlib +RUN apt-get update \ + && apt-get install -y --no-install-recommends fonts-liberation fontconfig \ + && rm -rf /var/lib/apt/lists/* + COPY --from=builder /src/app-root/dist/*.whl /src/app-root/ COPY --from=builder /src/app-root/requirements.txt /src/app-root/