From 19bf14aea46292d17df88e9d54be27c6f2e98623 Mon Sep 17 00:00:00 2001 From: hsdfat <118717478+hsdfat@users.noreply.github.com> Date: Wed, 30 Sep 2026 23:16:47 +0700 Subject: [PATCH] docker: fix files uploaded with the wrong mime type - fixes #6384 The Docker image had no /etc/mime.types, so MIME types came only from Go's built-in table plus rclone's small extra list, and many extensions uploaded as application/octet-stream. This installs Alpine's mailcap package to fix the problem. (cherry picked from commit 3cdf855547265472e82709aa51830d0345dc2299) --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index bb0861594..ae4ea8391 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,7 @@ RUN echo "**** Install Dependencies ****" && \ apk add --no-cache \ ca-certificates \ fuse3 \ + mailcap \ tzdata && \ echo "Enable user_allow_other in fuse" && \ echo "user_allow_other" >> /etc/fuse.conf