更新配置5

This commit is contained in:
zg
2026-07-16 22:25:33 +08:00
parent c9099f9ef7
commit b0e855b0b6
3 changed files with 3 additions and 3 deletions

View File

@@ -2,4 +2,4 @@ FROM harbor.zgitm.com/library/eclipse-temurin:17-jre
WORKDIR /app
COPY target/*.jar app.jar
EXPOSE 32002
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"]