add docker

This commit is contained in:
Julian Freeman
2025-10-18 15:34:41 -04:00
parent 4348671562
commit b4ee793b6f
7 changed files with 221 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash
python create_db.py
gunicorn -w 4 -k uvicorn.workers.UvicornWorker api_server:app -b 127.0.0.1:17701
# 这里必须是 0.0.0.0:8000
gunicorn -w 4 -k uvicorn.workers.UvicornWorker api_server:app -b 0.0.0.0:8000