Fix deploy: main.py entrypoint and proxy Dockerfile for VPN build

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-05 19:58:30 +03:30
parent 9608342428
commit dfae55980a
3 changed files with 43 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
"""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()