fix: 修复云端聊天鉴权及容器兼容并支持3200原地升级

This commit is contained in:
NathanAlex7
2026-09-14 11:53:29 +08:00
parent af1a1027d7
commit c556172a1d
11 changed files with 97 additions and 13 deletions
+3
View File
@@ -8,6 +8,9 @@ ROOT = Path(__file__).resolve().parents[1]
class DeploymentReleaseTests(unittest.TestCase):
def test_container_entrypoint_normalizes_windows_line_endings(self):
self.assertIn("sed -i 's/\\r$//' /app/docker-entrypoint.sh", (ROOT / "Dockerfile").read_text(encoding="utf-8"))
def test_cloud_ports_remain_loopback_only(self):
compose = (ROOT / "deploy/docker-compose.aliyun.yml").read_text(encoding="utf-8")
self.assertIn('"127.0.0.1:${FRONTEND_PORT:-80}:3000"', compose)