diff --git a/Dockerfile b/Dockerfile index b92073b..83f34ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -116,9 +116,6 @@ USER root # https://gitlab.alpinelinux.org/alpine/aports/-/issues/9279 RUN sed -i 's/SYSLOGD_OPTS="-Z"/SYSLOGD_OPTS="-t"/g' /etc/conf.d/syslog -# PHP-FPM vhost config -COPY /config/vhost.conf /etc/apache2/conf.d/vhost.conf - # Start Apache by default RUN rc-update add httpd default # default PHP-FPM by default @@ -137,4 +134,7 @@ RUN chown -R apache:apache /var/log/apache2 RUN sed -i 's/apache(.*)\/sbin\/nologin/apache\1\/bin\/ash/g' /etc/passwd # Provide container inside image for data persistence -VOLUME ["/var/www"] \ No newline at end of file +VOLUME ["/var/www"] + +# PHP-FPM vhost config +COPY /config/vhost.conf /etc/apache2/conf.d/vhost.conf