Dockerfile 622 B

123456789101112131415161718192021
  1. # anapsix/alpine-java:8_server-jre_unlimited无法拉取了
  2. # FROM anapsix/alpine-java:8_server-jre_unlimited
  3. # 如果下面的也失效了,可以改成 registry.cn-hangzhou.aliyuncs.com/interlock/openjdk8-jdk-alpine:1.0
  4. FROM openjdk:8-jdk-alpine
  5. MAINTAINER jeecgos@163.com
  6. RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
  7. #RUN mkdir -p /jeecg-boot/config/jeecg/
  8. WORKDIR /jeecg-boot
  9. EXPOSE 8520
  10. #ADD ./src/main/resources/jeecg ./config/jeecg
  11. ADD ./jeecg-system-start-3.4.3.jar ./
  12. ADD ./application-prod.yml ./
  13. CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar jeecg-system-start-3.4.3.jar