diff --git a/src/app.py b/src/app.py index 0386a6d..c800fc8 100644 --- a/src/app.py +++ b/src/app.py @@ -96,4 +96,5 @@ def get_logs(): return jsonify(response_list) if __name__ == '__main__': - app.run(debug=True, host="0.0.0.0") + port = int(os.environ.get("TICKET_AI_PORT", 5000)) # Default to 5000 if no environment variable is set + app.run(debug=True, host="0.0.0.0", port=port)