13 lines
355 B
Python
13 lines
355 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Production WSGI entry point for MOTM App
|
|
This file is used by Gunicorn to run the application in production
|
|
"""
|
|
|
|
from main import app
|
|
|
|
if __name__ == "__main__":
|
|
# This should not be called directly in production
|
|
# Use: gunicorn -c gunicorn.conf.py run_production:app
|
|
app.run(host='0.0.0.0', port=5000, debug=False)
|