init full backend repo with src + deploy config

This commit is contained in:
2025-07-15 11:37:42 +08:00
commit 8dc1824603
24 changed files with 825 additions and 0 deletions

12
app/Dockerfile Executable file
View File

@ -0,0 +1,12 @@
# 使用轻量级 OpenJDK 运行环境作为基础镜像
FROM openjdk:8-jdk
# 作者信息(可选)
LABEL maintainer="2604434353@qq.com"
# 创建工作目录
WORKDIR /app
# 复制 jar 包到容器中
COPY alex-api-0.0.1-SNAPSHOT.jar app.jar
# 开放容器端口
EXPOSE 8888
# 启动命令
ENTRYPOINT ["java", "-jar", "app.jar"]

BIN
app/alex-api-0.0.1-SNAPSHOT.jar Executable file

Binary file not shown.