From bdf1f28be91867d6c5cb2fc2bccaa501b76e8220 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Mon, 23 Aug 2021 10:07:25 +0200 Subject: [PATCH] chowend some dirs for deploy user --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index bf80584..80ec241 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ RUN sed -i.bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf # copy the script to run httpd in foreground COPY httpd-foreground /usr/local/bin/ RUN chown deploy:deploy /usr/local/bin/httpd-foreground +RUN chmod u+x /usr/local/bin/httpd-foreground # setup the right permissions for deploy user RUN chown -R deploy:deploy /var/www/