Dockerfile 421 B

1234567891011121314151617
  1. #FROM findepi/graalvm:java17-native
  2. FROM openjdk:17.0.2-oraclelinux8
  3. MAINTAINER Lion Li
  4. RUN mkdir -p /ruoyi/monitor/logs
  5. WORKDIR /ruoyi/monitor
  6. ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS=""
  7. EXPOSE 9090
  8. ADD ./target/ruoyi-monitor-admin.jar ./app.jar
  9. ENTRYPOINT java -Djava.security.egd=file:/dev/./urandom -jar app.jar \
  10. -XX:+HeapDumpOnOutOfMemoryError -Xlog:gc*,:time,tags,level -XX:+UseZGC ${JAVA_OPTS}