Include an /etc/mime.types file to correct gaps from mimetypes package (#348)

This commit is contained in:
Michael Manfre 2023-01-02 18:32:41 -05:00 committed by GitHub
parent c10aa46fc5
commit 73adcadf27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -35,6 +35,8 @@ RUN apt-get update \
RUN mkdir -p /cache RUN mkdir -p /cache
# Python mimetypes package is missing some common mappings
COPY docker/mime.types /etc/mime.types
COPY . /takahe COPY . /takahe
WORKDIR /takahe WORKDIR /takahe

1
docker/mime.types Normal file
View file

@ -0,0 +1 @@
image/webp webp