7 lines
254 B
Bash
7 lines
254 B
Bash
|
|
#!/bin/bash
|
||
|
|
set -e
|
||
|
|
# Run WP-CLI setup in background; it waits for wp-config.php and the DB
|
||
|
|
/usr/local/bin/wp-init-bg.sh &
|
||
|
|
# Hand off to the official WordPress entrypoint (writes wp-config.php, starts Apache)
|
||
|
|
exec /usr/local/bin/docker-entrypoint.sh "$@"
|