- FROM 10.223.3.19:31104/library/openjdk:8
- WORKDIR /home
- ADD ./inspectiontask-server/target/inspectiontask-server.jar /home/inspectiontask-server.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/inspectiontask-server.jar --server.port=13400
- EXPOSE 13400
|