From aee089f3b1f8bc3240b087f133a502f7ad0c7ab4 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Wed, 27 Oct 2021 09:59:55 +0200 Subject: [PATCH] Ensure that static assets are readable --- core/nginx/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/nginx/Dockerfile b/core/nginx/Dockerfile index aeb11666..b7e5e22e 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 /static/*.txt +RUN gzip -k9 /static/*.ico /static/*.txt; chmod a+rX -R /static 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"]