From a319ecde297c8840c26f43a35bd027a1802ee52d Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 6 Sep 2021 13:52:35 +0200 Subject: [PATCH] also precompress static txt files --- core/nginx/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/nginx/Dockerfile b/core/nginx/Dockerfile index 8b5be4f8..3b10b8b8 100644 --- a/core/nginx/Dockerfile +++ b/core/nginx/Dockerfile @@ -16,7 +16,7 @@ COPY conf /conf COPY static /static COPY *.py / -RUN gzip -k9 /static/*.ico +RUN gzip -k9 /static/*.ico /static/*.txt EXPOSE 80/tcp 443/tcp 110/tcp 143/tcp 465/tcp 587/tcp 993/tcp 995/tcp 25/tcp 10025/tcp 10143/tcp VOLUME ["/certs"]