Dockerfile 406 B

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