Apache pid fix

This commit is contained in:
Andrei Condurachi 2020-11-23 15:02:37 +02:00
parent c5493e0b18
commit c518e0b6d7
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ RUN \
RUN chown -R apache:apache /var/www RUN chown -R apache:apache /var/www
# Make sure apache can read&right to logs # Make sure apache can read&right to logs
RUN chown -R apache:apache /var/log/apache2 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 ### ### Continue execution as Apache user ###
USER apache USER apache