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