Dockerfile 366 B

12345678910111213141516
  1. FROM anapsix/alpine-java:8_server-jre_unlimited
  2. MAINTAINER jeecgos@163.com
  3. RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
  4. RUN mkdir -p /jeecg-cloud-xxljob
  5. WORKDIR /jeecg-cloud-xxljob
  6. EXPOSE 9080
  7. ADD ./target/jeecg-cloud-xxljob-3.7.0.jar ./
  8. CMD java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-xxljob-3.7.0.jar