update.sh 111 B

12345678910
  1. #!/bin/bash
  2. # 更新代码
  3. git pull
  4. # 构建镜像
  5. docker compose build
  6. # 重启服务
  7. docker compose up -d