From d0ff12c648bbeab7c780ecb967b08c2ee2086fa8 Mon Sep 17 00:00:00 2001 From: Kevin Reynolds Date: Mon, 29 Apr 2024 01:26:49 -0400 Subject: [PATCH] maybe --- labapp/Dockerfile | 2 +- labapp/app/app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/labapp/Dockerfile b/labapp/Dockerfile index ac1341b..63eff13 100644 --- a/labapp/Dockerfile +++ b/labapp/Dockerfile @@ -10,4 +10,4 @@ EXPOSE 5000 ENV FLASK_APP app.py ENV FLASK_RUN_HOST 0.0.0.0 -CMD ["flask", "run"] +CMD ["flask", "run", "--host=0.0.0.0"] diff --git a/labapp/app/app.py b/labapp/app/app.py index 87d933f..2146682 100644 --- a/labapp/app/app.py +++ b/labapp/app/app.py @@ -143,4 +143,4 @@ def lb_azure(): return jsonify(status='fail', error=str(e)) if __name__ == '__main__': - app.run(debug=False, host='0.0.0.0', port=5000) \ No newline at end of file + app.run(debug=False) \ No newline at end of file