fix: 修复 run.py 导入错误 + 添加生产环境 docker-compose

- 修复 socketio 导入问题
- 添加 docker-compose.prod.yaml(简化版,使用 SQLite + Redis)

作者: 小白 🐶
This commit is contained in:
2026-03-14 22:40:17 +08:00
parent 1b41e28499
commit e9f86aeda4
2 changed files with 51 additions and 2 deletions

3
run.py
View File

@@ -1,8 +1,7 @@
"""
PIT Router 启动入口
"""
from app import create_app
from app.extensions import socketio
from app import create_app, socketio_app as socketio
app = create_app('development')