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