PHP-FPM config update

This commit is contained in:
Andrei Condurachi 2020-11-23 12:44:28 +02:00
parent e7746fce53
commit d3c1816f89
1 changed files with 4 additions and 4 deletions

View File

@ -116,9 +116,6 @@ USER root
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/9279 # https://gitlab.alpinelinux.org/alpine/aports/-/issues/9279
RUN sed -i 's/SYSLOGD_OPTS="-Z"/SYSLOGD_OPTS="-t"/g' /etc/conf.d/syslog 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 # Start Apache by default
RUN rc-update add httpd default RUN rc-update add httpd default
# default PHP-FPM by 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 RUN sed -i 's/apache(.*)\/sbin\/nologin/apache\1\/bin\/ash/g' /etc/passwd
# Provide container inside image for data persistence # Provide container inside image for data persistence
VOLUME ["/var/www"] VOLUME ["/var/www"]
# PHP-FPM vhost config
COPY /config/vhost.conf /etc/apache2/conf.d/vhost.conf