diff --git a/app/app.py b/app/app.py index 891b82e..a80df1b 100644 --- a/app/app.py +++ b/app/app.py @@ -37,4 +37,5 @@ def data(nation): return jsonify({'results':df2[nation].astype(float).tolist(), 'labels':df2.index.astype(float).tolist()}) if __name__ == '__main__': - app.run(debug=True) \ No newline at end of file + port = int(os.environ.get("PORT", 5000)) + app.run(host='0.0.0.0', port=port) \ No newline at end of file