We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ab6bda + 4cf64ab commit ded1680Copy full SHA for ded1680
root/entrypoint.sh
@@ -10,12 +10,12 @@ touch /opt/app/storage/logs/worker.log
10
chown www-data:www-data -R /opt/app/storage
11
chown www-data:www-data -R /opt/app/bootstrap/cache
12
13
-# startup commands
14
-echo "Running startup commands..."
15
-php /usr/local/bin/startup-commands.php | bash
16
-
17
if [[ -n "$DB_HOST" || -n "$DB_PORT" ]]; then
18
wait-for-it.sh --host=$DB_HOST --port=$DB_PORT
19
fi
20
+# startup commands
+echo "Running startup commands..."
+php /usr/local/bin/startup-commands.php | bash
+
21
exec "$@"
0 commit comments