16 lines
295 B
Bash
Executable File
16 lines
295 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -n "$PHP_EXTENSIONS" ]; then
|
|
docker-php-ext-install "$PHP_EXTENSIONS"
|
|
fi
|
|
|
|
chown -R www-data:www-data /var/www/html
|
|
|
|
if [ -n "$*" ]; then
|
|
"$@"
|
|
fi
|
|
|
|
# Upstream ENTRYPOINT
|
|
# https://github.com/docker-library/wordpress/blob/master/php7.4/apache/Dockerfile#L120
|
|
apache2-foreground
|