fix: wrong mime type by adding mime-support

The admin's stylesheets e.g.https://{{DISCOVERY_HOST}}/static/admin/css/base.css, were not loaded because its MIME type appears to be "text/plain", It should be "text/css".
This commit is contained in:
Muhammad Faraz Maqsood 2024-05-14 14:02:26 +05:00 committed by Muhammad Faraz Maqsood
parent f4ccdf0f95
commit e63be4fcc3
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
- [BugFix] wrong mime type by adding mime-support dependency. (by @Faraz32123)

View File

@ -8,7 +8,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
apt update && \
apt install -y curl git-core gettext language-pack-en \
build-essential libcairo2 libffi-dev libmysqlclient-dev libxml2-dev libxslt-dev libjpeg-dev libssl-dev \
pkg-config libsqlite3-dev
pkg-config libsqlite3-dev mime-support
ENV LC_ALL en_US.UTF-8
ARG APP_USER_ID=1000