portsettings für docker + cli noch angepasst. jetzt ist .env führend
This commit is contained in:
1 parent
a54f26f808
commit
0739de4b44
2 files changed
+2
-2
No files matched your search
@@ -229,4 +229,4 @@ app = create_app()
|
||||
if __name__ == '__main__':
|
||||
# This allows running the app directly with python app.py
|
||||
# In production, use gunicorn or other WSGI servers
|
||||
app.run(host='0.0.0.0', port=5000, debug=app.config['DEBUG'])
|
||||
app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 5000)), debug=app.config['DEBUG'])
|
||||
Reference in new issue
Block a user