diff --git a/Dockerfile b/Dockerfile index b20cc44..e4ada1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,8 +79,9 @@ fi exec apachectl -DFOREGROUND EOF -# Replace default vhost so root serves the users UI -RUN bash -lc 'cat >/etc/apache2/sites-available/000-default.conf </etc/apache2/sites-available/000-default.conf <<'EOF' ServerName localhost DocumentRoot /var/www/html/daloradius/users @@ -89,11 +90,11 @@ RUN bash -lc 'cat >/etc/apache2/sites-available/000-default.conf < DirectoryIndex index.php - ErrorLog \${APACHE_LOG_DIR}/error.log - CustomLog \${APACHE_LOG_DIR}/access.log combined + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined -EOF' \ - && apache2ctl -t +EOF +