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