FROM 192.168.123.25:31104/unis/java:8 RUN rm -rf /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ADD ./target/file.jar /root CMD ["sh", "-c", "cd /root; java -Djava.security.egd=file:/dev/./urandom -jar /root/file.jar --file.server.enable-self-preservation=false"] EXPOSE 11010