Dockerfile 360 B

123456
  1. FROM 10.223.3.19:31104/library/openjdk:8
  2. WORKDIR /home
  3. ADD ./inspectionplan-server/target/inspectionplan-server.jar /home/inspectionplan-server.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/inspectionplan-server.jar --server.port=13700
  6. EXPOSE 13700