petersweb-infra/nixos/atitraining/entrypoint.sh

7 lines
254 B
Bash
Raw Permalink Normal View History

2026-06-25 20:43:10 -08:00
#!/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 "$@"