While lightweight and easy to use, Flask’s built-in server is not suitablefor production as it doesn’t scale well. Some of the options available forproperly running Flask in production are documented here.
If you want to deploy your Flask application to a WSGI server not listed here,look up the server documentation about how to use a WSGI app with it. Justremember that your
Flask application object is the actual WSGIapplication.
- Standalone WSGI Containers
- mod_wsgi (Apache)