diff --git a/Dockerfile b/Dockerfile
index ada4fc3d05b9f11a2f3094c62a9ff082f3a84d2b..1ac34cdd9e5ddc49a9e9c3fa6c6bd6a300dba05f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@ ARG GO_VERSION=1.20
 FROM golang:${GO_VERSION}-alpine as build
 
 # Necessary to run 'go get' and to compile the linked binary
-RUN apk add git musl-dev
+RUN apk add git musl-dev mailcap
 
 ADD . /go/src/github.com/dutchcoders/transfer.sh
 
@@ -29,6 +29,7 @@ FROM scratch AS final
 LABEL maintainer="Andrea Spacca <andrea.spacca@gmail.com>"
 ARG RUNAS
 
+COPY --from=build /etc/mime.types /etc/mime.types
 COPY --from=build /tmp/empty /tmp
 COPY --from=build /tmp/useradd/* /etc/
 COPY --from=build --chown=${RUNAS}  /go/bin/transfersh /go/bin/transfersh