diff options
author | rubenwardy <rw@rubenwardy.com> | 2019-11-21 23:16:39 +0000 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2019-11-21 23:16:39 +0000 |
commit | 5466a2d64d6cea7326a6382534d040bab8055c15 (patch) | |
tree | aad7adc74c7ec481014d8f50094be6a4ae32a3b1 | |
parent | 77f8a79c51af6229c0a1807f168db07a8b67c2cc (diff) | |
download | cheatdb-5466a2d64d6cea7326a6382534d040bab8055c15.tar.xz |
Rename run.sh to entrypoint.sh
-rw-r--r-- | docker-compose.yml | 2 | ||||
-rwxr-xr-x | utils/entrypoint.sh (renamed from utils/run.sh) | 4 |
2 files changed, 5 insertions, 1 deletions
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 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 |