From a13dba19ad32efdeb772de21071487f2f61211cb Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 25 Nov 2023 05:30:37 -0500 Subject: [PATCH] fixed the flask service binding to localhost instead of 0.0.0.0, preventing it from being connected to outside of a docker container --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 743dc3d..fab8838 100644 --- a/src/main.py +++ b/src/main.py @@ -49,4 +49,4 @@ def hello(): return render_template('hello.html', name="Flask") if __name__ == '__main__': - app.run(host="localhost", port=config['port'], debug=True) + app.run(host="0.0.0.0", port=config['port'], debug=True)