From c518e0b6d7c671e8b7230d93fdf614a322d834ad Mon Sep 17 00:00:00 2001 From: Andrei Condurachi Date: Mon, 23 Nov 2020 15:02:37 +0200 Subject: [PATCH] Apache pid fix --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index b5ff656..c395bd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -89,6 +89,8 @@ RUN \ RUN chown -R apache:apache /var/www # Make sure apache can read&right to logs RUN chown -R apache:apache /var/log/apache2 +# Apache access to creating pid +RUN chown -R apache:apache /run/apache2 ### Continue execution as Apache user ### USER apache