From 035e54ba4de153184da4f33a8a80352a30cb1f75 Mon Sep 17 00:00:00 2001 From: kurokobo Date: Sun, 16 Feb 2025 22:39:40 +0900 Subject: [PATCH] fix: add install a package to improve the accuracy of guessing mime type and file extension (main) (#13752) --- api/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/Dockerfile b/api/Dockerfile index 8207c66f83..2c7b3bba4a 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -58,6 +58,8 @@ RUN \ expat libldap-2.5-0 perl libsqlite3-0 zlib1g \ # install a chinese font to support the use of tools like matplotlib fonts-noto-cjk \ + # install a package to improve the accuracy of guessing mime type and file extension + media-types \ # install libmagic to support the use of python-magic guess MIMETYPE libmagic1 \ && apt-get autoremove -y \