From 16976a27bcb7828202537e17cc689679d24c8d3b Mon Sep 17 00:00:00 2001 From: Werner Beroux Date: Fri, 2 Feb 2024 17:25:01 +0100 Subject: [PATCH] Makes the www root directory writable for the initial install to succeed. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index de0355b..e4939ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,7 @@ RUN curl -L ${OWA_RELEASE_URL} | tar -x RUN chgrp -R www-data /var/www/html RUN find /var/www/html -type f -exec chmod 640 {} \; RUN find /var/www/html -type d -exec chmod 750 {} \; +RUN chown www-data /var/www/html RUN chown www-data /var/www/html/owa-data VOLUME /var/www/html