From 235aeb06e87c635eeddacb2ea644f38891298ea4 Mon Sep 17 00:00:00 2001 From: Jason Gegere Date: Tue, 1 Jun 2021 23:09:09 -0500 Subject: [PATCH] permissions for mod_pagespeed cache folders --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index a9a528f..355aec5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,6 +75,8 @@ RUN a2enmod userdir rewrite ssl # Install Mod_pagespeed Module RUN curl -O https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb && dpkg -i mod-pagespeed-stable_current_amd64.deb +RUN chown nobody:www-data /var/cache/mod_pagespeed && chown nobody:www-data /var/log/pagespeed/ + # Environment variables contained within build container. ENV TERM=xterm \