FROM findepi/graalvm:java17-native MAINTAINER Lion Li RUN mkdir -p /ruoyi/nacos WORKDIR /ruoyi/nacos EXPOSE 8848 ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms256m -Xmx512m" ADD ./target/ruoyi-nacos.jar ./app.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar", "${JAVA_OPTS}"]