diff --git a/docker/idhub.entrypoint.sh b/docker/idhub.entrypoint.sh index 21b601a..3a22aef 100755 --- a/docker/idhub.entrypoint.sh +++ b/docker/idhub.entrypoint.sh @@ -103,9 +103,17 @@ main() { idhub_dir='/opt/idhub' cd "${idhub_dir}" +check_app_is_there() { if [ ! -f "./manage.py" ]; then usage fi +} + +main() { + idhub_dir='/opt/idhub' + cd "${idhub_dir}" + + check_app_is_there deployment_strategy