Dockerfile 421 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-weibull
  5. RUN -di --network=nationrel
  6. WORKDIR /nationrel-module-weibull
  7. EXPOSE 8848
  8. ADD nationrel-module-weibull-start/target/nationrel-module-weibull-start.jar ./
  9. CMD sleep 1;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar nationrel-module-weibull-start.jar