chore(api): slim Dockerfile by installing wheels without venv

This commit is contained in:
-LAN- 2025-11-28 14:51:03 +08:00
parent ae3caa6160
commit 43c2b869b3
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF
1 changed files with 3 additions and 3 deletions

View File

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