diff --git a/docker-compose.yml b/docker-compose.yml index 0b04a9e..4f8ccfe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: app: build: . - command: ./utils/run.sh + command: ./utils/entrypoint.sh env_file: - config.env ports: diff --git a/utils/run.sh b/utils/entrypoint.sh similarity index 91% rename from utils/run.sh rename to utils/entrypoint.sh index dee2a54..0296d9d 100755 --- a/utils/run.sh +++ b/utils/entrypoint.sh @@ -1,5 +1,9 @@ #!/bin/bash +# +# The entrypoint for the docker containers +# + # Debug # FLASK_APP=app/__init__.py FLASK_CONFIG=../config.cfg FLASK_DEBUG=1 python3 -m flask run -h 0.0.0.0 -p 5123