12 lines
274 B
Bash
12 lines
274 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
: "${APACHE_DOCUMENT_ROOT:=/var/www/html/home/web}"
|
|
|
|
sed -ri -e "s!/var/www/html!${APACHE_DOCUMENT_ROOT}!g" \
|
|
/etc/apache2/sites-available/*.conf \
|
|
/etc/apache2/apache2.conf \
|
|
/etc/apache2/conf-available/*.conf
|
|
|
|
exec docker-php-entrypoint "$@"
|