1. 更新前端界面和Nginx配置

2. 更新Dockerfile设置
This commit is contained in:
EnderByEndera
2024-01-24 16:36:03 +08:00
parent 02dd20743f
commit 0da97a5254
34 changed files with 300 additions and 69 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# 初始化变量设定
export set BASEDIR="/root"
export set PROTECTION_DIR="$BASEDIR/realtime_protection"
export set GRADLE_USER_HOME="$PROTECTION_DIR/gradle"
# 启动gradle编译java
cd $PROTECTION_DIR
chmod +x ./gradlew
./gradlew clean && ./gradlew build
# 启动SpringBoot服务
./gradlew bootRun --args="--spring.profiles.active=prod"