Browse Source

add update.sh

lushdog@outlook.com 3 tuần trước cách đây
mục cha
commit
17d8b1511d
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      update.sh

+ 10 - 0
update.sh

@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# 更新代码
+git pull
+
+# 构建镜像
+docker compose build
+
+# 重启服务
+docker compose up -d