Dockerfile 359 B

12345678910111213141516
  1. FROM anapsix/alpine-java:8_server-jre_unlimited
  2. MAINTAINER Lion Li
  3. RUN mkdir -p /ruoyi/xxljob/logs
  4. WORKDIR /ruoyi/xxljob
  5. ENV TZ=PRC
  6. RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
  7. EXPOSE 9100
  8. ADD ./target/ruoyi-xxl-job-admin.jar ./app.jar
  9. ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]