fix:修复常见问题,用于更新
This commit is contained in:
5
run.sh
5
run.sh
@@ -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
|
||||
Reference in New Issue
Block a user