前端项目结构

This commit is contained in:
2025-12-02 15:55:30 +08:00
parent 2a9e624ba9
commit 28787e5b29
18 changed files with 2545 additions and 2167 deletions

View File

@@ -0,0 +1,13 @@
FROM maven:3.9-eclipse-temurin-21-alpine
WORKDIR /app
# 复制 pom.xml 和源代码
COPY pom.xml ./
COPY src ./src
# 暴露端口
EXPOSE 8080
# 使用 spring-boot-devtools 支持热重载
CMD ["mvn", "spring-boot:run", "-Dspring-boot.run.jvmArguments=-Dspring.devtools.restart.enabled=true"]