From 1b3cc5d6a6f088565fc4d8ea38c22c6ffb3d1107 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Wed, 17 Jul 2024 18:46:15 +0200 Subject: [PATCH] docker: install media-types to fix content-type for fonts starlette guesses the mimetype, but without media-types it doesn't know anything about fonts --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index a342850..3e61e25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ FROM python:3.11-slim-bookworm +RUN apt-get update && apt-get install -y --no-install-recommends \ + media-types \ + && rm -rf /var/lib/apt/lists/* + RUN python -m pip install "poetry==1.8.2" COPY . /app