diff --git a/.docker/entrypoint b/.docker/entrypoint index 6e59c4d..5ca274f 100755 --- a/.docker/entrypoint +++ b/.docker/entrypoint @@ -1,6 +1,6 @@ #!/bin/bash -set +e +set -e echo "⚙️ Testing DB connection" timeout 300s waitfortcp "${RAILS_DB_HOST-db}" "${RAILS_DB_PORT-3306}" @@ -29,4 +29,4 @@ fi echo "➡️ Handing control over to '$*''" # shellcheck disable=SC2068 -exec bundle exec $@ +exec bundle exec "$@"