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
This commit is contained in:
Christoph Reiter
2024-07-17 18:46:15 +02:00
parent 39e285c20d
commit 1b3cc5d6a6

View File

@@ -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