From a8a50fe4993b82be9699152ba87ecc595537cfd6 Mon Sep 17 00:00:00 2001 From: Nicolas Da Mutten Date: Sun, 8 Sep 2019 12:52:58 +0200 Subject: [PATCH] Make entrypoint RubyMine compatible. --- .docker/entrypoint | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 "$@"