From 103918ba57454a639c087498b991f136339ca352 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 2 Sep 2021 20:46:56 +0200 Subject: [PATCH] pre-compress assets (*.ico for now) --- core/nginx/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/nginx/Dockerfile b/core/nginx/Dockerfile index 1906ed31..8b5be4f8 100644 --- a/core/nginx/Dockerfile +++ b/core/nginx/Dockerfile @@ -16,6 +16,8 @@ COPY conf /conf COPY static /static COPY *.py / +RUN gzip -k9 /static/*.ico + 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"] VOLUME ["/overrides"]