- FROM 172.16.0.8:31104/library/oracle-jre:8u202
- WORKDIR /home
- ADD ./target/intelligence-server.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=8080
- EXPOSE 8080
|