From e63be4fcc3372c81f0c2acde2cc7a72060af648b Mon Sep 17 00:00:00 2001 From: Muhammad Faraz Maqsood Date: Tue, 14 May 2024 14:02:26 +0500 Subject: [PATCH] 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". --- changelog.d/20240514_140102_faraz.maqsood_redwood.md | 1 + tutordiscovery/templates/discovery/build/discovery/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/20240514_140102_faraz.maqsood_redwood.md diff --git a/changelog.d/20240514_140102_faraz.maqsood_redwood.md b/changelog.d/20240514_140102_faraz.maqsood_redwood.md new file mode 100644 index 0000000..92cac76 --- /dev/null +++ b/changelog.d/20240514_140102_faraz.maqsood_redwood.md @@ -0,0 +1 @@ +- [BugFix] wrong mime type by adding mime-support dependency. (by @Faraz32123) diff --git a/tutordiscovery/templates/discovery/build/discovery/Dockerfile b/tutordiscovery/templates/discovery/build/discovery/Dockerfile index 45d41ef..b2210d8 100644 --- a/tutordiscovery/templates/discovery/build/discovery/Dockerfile +++ b/tutordiscovery/templates/discovery/build/discovery/Dockerfile @@ -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