Turn to gunicorn
main.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from shimehari import Shimehari
app = Shimehari(__name__)
if __name__ == '__main__':
port = int(os.environ.get("PORT", 5959))
app.drink(host="0.0.0.0", port=port)
Recommended Posts