From 96e6772a4b8c2b0f0da503c775f7bced5df7fd77 Mon Sep 17 00:00:00 2001 From: Andrei Condurachi Date: Mon, 23 Nov 2020 13:14:05 +0200 Subject: [PATCH] Apache config update --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8ced7b2..a2df98f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -112,6 +112,9 @@ EXPOSE 80 ### Return to root user ### USER root +# vhost config +COPY vhost.conf /etc/apache2/conf.d/vhost.conf + # syslog option '-Z' was changed to '-t', change this in /etc/conf.d/syslog so that syslog (and then cron) actually starts # https://gitlab.alpinelinux.org/alpine/aports/-/issues/9279 RUN sed -i 's/SYSLOGD_OPTS="-Z"/SYSLOGD_OPTS="-t"/g' /etc/conf.d/syslog @@ -135,6 +138,3 @@ RUN sed -i 's/apache(.*)\/sbin\/nologin/apache\1\/bin\/ash/g' /etc/passwd # Provide container inside image for data persistence VOLUME ["/var/www"] - -# PHP-FPM vhost config -COPY vhost.conf /etc/apache2/conf.d/vhost.conf