FROM openjdk:17 MAINTAINER nationrel.com RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN mkdir -p /nationrel-module-demo RUN -di --network=nationrel WORKDIR /nationrel-module-demo EXPOSE 8848 ADD nationrel-module-alta-start/target/nationrel-module-demo-start.jar ./ CMD sleep 1;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar nationrel-module-demo-start.jar