From cd02fdb4f5e1cf57cb05182d9199c2e24ff4e8f0 Mon Sep 17 00:00:00 2001 From: Andrei Condurachi Date: Sat, 21 Nov 2020 18:26:20 +0200 Subject: [PATCH] Update --- run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 5411918..ee3d8d2 100644 --- a/run.sh +++ b/run.sh @@ -7,4 +7,7 @@ # Start Apache and PHP-FPM exec /usr/sbin/httpd -D FOREGROUND -f /etc/apache2/httpd.conf & -exec /usr/sbin/php-fpm7 -F \ No newline at end of file +exec /usr/sbin/php-fpm7 -F + +# Make sure apache can read&right to logs and docroot +RUN chown -R apache:apache /var/log/apache2 /var/www \ No newline at end of file