dfae55980a
Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
424 B
Python
26 lines
424 B
Python
"""Entry point for container: python main.py"""
|
|
import subprocess
|
|
import sys
|
|
|
|
|
|
def main() -> None:
|
|
subprocess.run(
|
|
[
|
|
sys.executable,
|
|
"-m",
|
|
"gunicorn",
|
|
"-b",
|
|
"0.0.0.0:8765",
|
|
"-w",
|
|
"2",
|
|
"--timeout",
|
|
"180",
|
|
"run:app",
|
|
],
|
|
check=True,
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|