初始化3

This commit is contained in:
zg
2026-07-16 15:04:25 +08:00
parent 3710e7866b
commit 32e8b93a30
4 changed files with 55 additions and 23 deletions

View File

@@ -2,4 +2,5 @@ FROM harbor.zgitm.com/library/eclipse-temurin:17-jre
WORKDIR /app
COPY target/*.jar app.jar
EXPOSE 32402
ENTRYPOINT ["java","-jar","app.jar"]
#ENTRYPOINT ["java","-jar","app.jar"]
ENTRYPOINT ["java","-Xms256m","-Xmx512m","-XX:+UseG1GC","-XX:MaxGCPauseMillis=200","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=/app/dump.hprof","-Djava.security.egd=file:/dev/./urandom","-Duser.timezone=Asia/Shanghai","-jar","app.jar"]