重构代码, 统一项目入口为install.sh.

This commit is contained in:
Olia Lisa
2026-01-15 12:25:16 +08:00
parent d5833833e0
commit 3715554dc2
11 changed files with 23 additions and 58 deletions
-2
View File
@@ -1,6 +1,5 @@
#!/bin/bash
run() {
local script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # 脚本文件夹绝对路径
@@ -14,4 +13,3 @@ run() {
docker-compose -f "$script_dir/../docker-compose.yml" up -d
}
run # 启动容器