Update dockerfile

This commit is contained in:
SuperDev
2022-12-19 11:36:43 -06:00
committed by GitHub
parent fad848bd5f
commit f255c90023

View File

@@ -22,7 +22,7 @@ RUN apt-get install -y \
g++
# 2. apache configs + document root
ENV APACHE_DOCUMENT_ROOT=/var/www/html/public
ENV APACHE_DOCUMENT_ROOT=/var/www/html
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf
RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf