Update 'Dockerfile'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2019-11-26 15:57:47 +00:00
parent d486c8ad21
commit e3c1c106c6

View File

@ -28,8 +28,8 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
sed -i 's:# include "mod_fastcgi.conf": include "mod_fastcgi.conf":' /etc/lighttpd/lighttpd.conf && \ sed -i 's:# include "mod_fastcgi.conf": include "mod_fastcgi.conf":' /etc/lighttpd/lighttpd.conf && \
# sed -i 's:/usr/bin/php-cgi:/usr/bin/php-cgi7:' /etc/lighttpd/mod_fastcgi.conf && \ # sed -i 's:/usr/bin/php-cgi:/usr/bin/php-cgi7:' /etc/lighttpd/mod_fastcgi.conf && \
# Include vhost's # Include vhost's
sed -i -e '$a\' -e 'include_shell "cat /etc/lighttpd/vhosts.d/*.conf"' /etc/lighttpd/lighttpd.conf && \ sed -i -e '$a\' -e 'include_shell "cat /etc/lighttpd/vhosts.d/*.conf"' /etc/lighttpd/lighttpd.conf #&& \
mkdir -p /run/lighttpd/ && chown lighttpd /run/lighttpd/ # mkdir -p /run/lighttpd/ && chown lighttpd /run/lighttpd/
#ADD vhosts.d /etc/lighttpd/vhosts.d #ADD vhosts.d /etc/lighttpd/vhosts.d
VOLUME /etc/lighttpd/vhosts.d VOLUME /etc/lighttpd/vhosts.d