fix: add install a package to improve the accuracy of guessing mime type and file extension (main) (#13752)

This commit is contained in:
kurokobo 2025-02-16 22:39:40 +09:00 committed by GitHub
parent 284707c3a8
commit 035e54ba4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@ RUN \
expat libldap-2.5-0 perl libsqlite3-0 zlib1g \ expat libldap-2.5-0 perl libsqlite3-0 zlib1g \
# install a chinese font to support the use of tools like matplotlib # install a chinese font to support the use of tools like matplotlib
fonts-noto-cjk \ 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 # install libmagic to support the use of python-magic guess MIMETYPE
libmagic1 \ libmagic1 \
&& apt-get autoremove -y \ && apt-get autoremove -y \