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 3cdf855547)
This commit is contained in:
hsdfat authored and Nick Craig-Wood committed 2026-10-08 17:17:11 +01:00
1 parent 353167fd38
commit 19bf14aea4
1 file changed
+1
+1
View File
@@ -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