mirror of https://github.com/langgenius/dify.git
chore(api): slim Dockerfile by installing wheels without venv
This commit is contained in:
parent
ae3caa6160
commit
43c2b869b3
|
|
@ -71,9 +71,9 @@ RUN set -eux; \
|
||||||
# install fonts to support the use of tools like pypdfium2
|
# install fonts to support the use of tools like pypdfium2
|
||||||
fonts-noto-cjk \
|
fonts-noto-cjk \
|
||||||
# install a package to improve the accuracy of guessing mime type and file extension
|
# install a package to improve the accuracy of guessing mime type and file extension
|
||||||
media-types \
|
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; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue