Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

kurokobo035e54ba4de1
diff --git a/api/Dockerfile b/api/Dockerfile
index 8207c66f837..2c7b3bba4a7 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 \