全面大升级

This commit is contained in:
2026-02-04 00:11:24 +08:00
parent 74d398c88d
commit dff9e7d7cd
5 changed files with 71 additions and 44 deletions

View File

@@ -19,16 +19,17 @@ chmod +x deploy.sh
```bash
# 构建
docker build -t your-registry/chatroom:latest .
docker build -t zhengdushi/chatroom:latest .
# 推送示例Docker Hub / 阿里云 ACR
docker push your-registry/chatroom:latest
docker push zhengdushi/chatroom:latest
```
### 2. 服务器拉取并部署
```bash
./deploy.sh your-registry/chatroom:latest
cd /chatroom
docker compose pull app && docker compose up -d
```
## 三、自动更新部署