Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Adds the mime-support dependency

Stephen Moloney1293e16a249e
diff --git a/Dockerfile b/Dockerfile
index 417cd11d1d..23a3e27ced 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -43,7 +43,7 @@ ARG STATIC_URL
RUN \
apt-get update && \
- apt-get install -y libxml2 libssl1.1 libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 shared-mime-info && \
+ apt-get install -y libxml2 libssl1.1 libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 shared-mime-info mime-support && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
diff --git a/saleor/wsgi/uwsgi.ini b/saleor/wsgi/uwsgi.ini
index 6f5bb03d6d..9d1d735c49 100644
--- a/saleor/wsgi/uwsgi.ini
+++ b/saleor/wsgi/uwsgi.ini
@@ -8,3 +8,4 @@ memory-report = true
module = saleor.wsgi:application
processes = 4
static-map = /static=/app/static
+mimefile = /etc/mime.types