Dockerfile 270 B

12345678910111213
  1. FROM anapsix/alpine-java:8_server-jre_unlimited
  2. MAINTAINER Lion Li
  3. RUN mkdir -p /ruoyi/monitor/logs
  4. WORKDIR /ruoyi/monitor
  5. EXPOSE 9090
  6. ADD ./target/ruoyi-monitor-admin.jar ./app.jar
  7. ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]