From 5466a2d64d6cea7326a6382534d040bab8055c15 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 21 Nov 2019 23:16:39 +0000 Subject: [PATCH] Rename run.sh to entrypoint.sh --- docker-compose.yml | 2 +- utils/{run.sh => entrypoint.sh} | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) rename utils/{run.sh => entrypoint.sh} (91%) 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