Some more changes for Docker
This commit is contained in:
@@ -5,5 +5,8 @@ RUN a2enmod rewrite
|
||||
|
||||
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
|
||||
|
||||
# The php:apache image handles the "start" command automatically,
|
||||
# so we don't need to add anything else here.
|
||||
# Set Apache DocumentRoot to /var/wkvs/www
|
||||
ENV APACHE_DOCUMENT_ROOT /var/wkvs/www
|
||||
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf \
|
||||
&& sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf \
|
||||
&& sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/apache2.conf
|
||||
Reference in New Issue
Block a user