FROM 172.16.0.8:31104/library/oracle-jre:8u202 WORKDIR /home ADD ./target/eureka.jar /home/app.jar RUN rm -rf /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime CMD java $JVM_OPTS -Djava.security.egd=file:/dev/./urandom -jar /home/app.jar --server.port=11000 --eureka.server.enable-self-preservation=false EXPOSE 11000