radical-api/main.py
2021-11-30 03:11:43 -05:00

9 lines
266 B
Python
Executable file

import sys
from core.wrapper import Wrapper
api = Wrapper(['python3.9', '-m', 'gunicorn', "-k", "uvicorn.workers.UvicornWorker",
"--log-config", "log.conf",
'--bind', '0.0.0.0:8000',
'api:api'], sys.stdout)
api.start()