Open
Description
Hi,
While running the docker version of the app I got:
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Googleing that (not a python dev) I got to the bellow solution - to use waitress - a production ready wsgi server.
I think others exist as well.
if __name__ == "__main__":
from waitress import serve
serve(app, host="0.0.0.0", port=8080)
Metadata
Metadata
Assignees
Labels
No labels