From e87d7ea12b06f5784440c529327b211fc270c5b7 Mon Sep 17 00:00:00 2001 From: Mark <mark@openappstack.net> Date: Mon, 16 Sep 2019 12:11:36 +0200 Subject: [PATCH] Bind port to all interfaces --- Dockerfile | 2 +- app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f2490c..fd8bb99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,4 @@ ENV DATABASE_PASSWORD secret ENV DATABASE_NAME db ENV DATABASE_HOST postgresql -CMD [ "flask", "run" ] +CMD [ "python3", "app.py" ] diff --git a/app.py b/app.py index d878310..45f338d 100644 --- a/app.py +++ b/app.py @@ -36,4 +36,4 @@ def initialize_database(): init_db() if __name__ == '__main__': - app.run() + app.run(host="0.0.0.0") -- GitLab