疯狂的狮子Li
2024-05-27 94797a2d2b815fe7a4e8d884059a34e1d9bc74f3
ruoyi-extend/ruoyi-monitor-admin/Dockerfile
@@ -1,4 +1,5 @@
FROM ghcr.io/graalvm/jdk:ol8-java17-22.3.0
#FROM findepi/graalvm:java17-native
FROM openjdk:17.0.2-oraclelinux8
MAINTAINER Lion Li
@@ -6,8 +7,12 @@
WORKDIR /ruoyi/monitor
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS=""
EXPOSE 9090
ADD ./target/ruoyi-monitor-admin.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
ENTRYPOINT java -Djava.security.egd=file:/dev/./urandom \
           -XX:+HeapDumpOnOutOfMemoryError -XX:+UseZGC ${JAVA_OPTS} \
           -jar app.jar