diff options
-rw-r--r-- | 2.4/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/2.4/Dockerfile b/2.4/Dockerfile index d907b76..82a209d 100644 --- a/2.4/Dockerfile +++ b/2.4/Dockerfile @@ -17,6 +17,8 @@ RUN set -ex; \ \ # Configure port sed -i -e "s|Listen .*|Listen 8080|" "conf/httpd.conf"; \ + # Configure file paths + sed -i -e "s|^PidFile .*|PidFile /tmp/apache.pid|" "conf/httpd.conf"; \ # Enable DAV modules. for i in dav dav_fs; do \ sed -i -e "/^#LoadModule ${i}_module.*/s/^#//" "conf/httpd.conf"; \ |