Merge branch 'main-framework' into develop-framework

This commit is contained in:
zhengsl 2025-11-09 18:29:31 +08:00
commit 6dee0c43e8
4 changed files with 0 additions and 84 deletions

35
.gitignore vendored
View File

@ -1,38 +1,3 @@
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
/logs/
!**/src/main/**/build/
!**/src/test/**/build/
### VS Code ###
.vscode/
framework/src/main/resources/static/assets/401-099a3a32.js
framework/src/main/resources/static/assets/401-fffd1e4b.css
framework/src/main/resources/static/assets/404-6dcbdda2.js

View File

@ -1,7 +0,0 @@
#!/usr/bin/env sh
# Basic pre-commit hook initialized at repo root.
# Add your checks below (lint/test/etc.).
echo "husky pre-commit: no checks configured yet"
exit 0

21
.vscode/launch.json vendored
View File

@ -1,21 +0,0 @@
{
// 使 IntelliSense
//
// 访: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "PlatformApplication",
"request": "launch",
"mainClass": "com.yfd.platform.PlatformApplication",
"projectName": ""
},
{
"type": "java",
"name": "Current File",
"request": "launch",
"mainClass": "${file}"
}
]
}

View File

@ -1,21 +0,0 @@
# syntax=docker/dockerfile:1
FROM eclipse-temurin:17-jre-alpine
LABEL maintainer="platform-team"
ENV TZ=Asia/Shanghai \
LANG=zh_CN.UTF-8 \
JAVA_OPTS="-Dfile.encoding=UTF-8" \
SPRING_PROFILES_ACTIVE=dev
RUN apk add --no-cache tzdata && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /app
# 注意:在构建镜像前先执行 `mvn -DskipTests package` 生成 WAR
COPY target/platform-1.0.war /app/app.war
EXPOSE 8093
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -jar /app/app.war --spring.profiles.active=$SPRING_PROFILES_ACTIVE"]