chore: 整理数据库文件和Docker配置
Some checks failed
continuous-integration/drone/push Build was killed

- 更新Dockerfile
- 整合数据库SQL文件为martial_db.sql
- 添加docker-compose.yml
- 清理临时SQL脚本

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-19 14:43:48 +08:00
parent 3ae441c044
commit 0f0beaf62e
20 changed files with 9136 additions and 1465 deletions

View File

@@ -1,15 +1,3 @@
# 多阶段构建:编译阶段
FROM maven:3.9-eclipse-temurin-17 AS builder
WORKDIR /build
# 复制主项目源码
COPY pom.xml .
COPY src ./src
# 编译项目(在 Drone 中已经编译好,这里只是复制)
RUN mkdir -p target
# 运行阶段:使用轻量级 JRE 镜像
FROM eclipse-temurin:17-jre-jammy