22 lines
328 B
Bash
Executable File
22 lines
328 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
. /usr/local/bin/context.sh
|
|
. /usr/local/bin/setup_composer.sh
|
|
. /usr/local/bin/setup_env.sh
|
|
. /usr/local/bin/setup_laravel.sh
|
|
|
|
echo "[INIT] Starting initialization..."
|
|
|
|
setup_composer
|
|
setup_env
|
|
|
|
/usr/local/bin/wait-mariadb.sh
|
|
/usr/local/bin/wait-typesense.sh
|
|
|
|
setup_laravel
|
|
|
|
echo "[INIT] Done ✅"
|
|
|
|
exec "$@"
|