fix:修复常见问题,用于更新

This commit is contained in:
Daniel
2026-03-06 10:43:50 +08:00
parent 9f2442f2e3
commit b7ff505dea
3 changed files with 27 additions and 101 deletions

5
run.sh
View File

@@ -1,3 +1,6 @@
#!/usr/bin/env bash
cd /www/wwwroot/www.airtep.com2/usa
git fetch origin && git reset --hard origin/master && npm run build && pm2 restart 4
git fetch origin && git reset --hard origin/master && npm run build && pm2 restart 4
# 同步更新爬虫 Docker 容器(使用最新代码重新构建镜像并重启)
docker build -t usa-dashboard-crawler:latest -f Dockerfile.crawler . && ./scripts/run-crawler-docker-standalone.sh