Dockerfile .txt 309 B

123456
  1. FROM 172.16.0.8:31104/library/oracle-jre:8u202
  2. WORKDIR /home
  3. ADD ./target/intelligence-server.jar /home/app.jar
  4. RUN rm -rf /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
  5. CMD java $JVM_OPTS -Djava.security.egd=file:/dev/./urandom -jar /home/app.jar --server.port=8080
  6. EXPOSE 8080