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