wsgi服务
pip install waitress
waitress-serve --host=0.0.0.0 --port=8080 your_app:app
main.py
from waitress import serve
from app import app
from config.env import AppConfig
serve(
app.server,
host=AppConfig.app_host,
port=AppConfig.app_port
)