Dockerfile 391 B

123456789101112131415
  1. FROM registry.cn-hangzhou.aliyuncs.com/dockerhub_mirror/java:21-anolis
  2. MAINTAINER jeecgos@163.com
  3. RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
  4. RUN mkdir -p /jeecg-cloud-nacos
  5. WORKDIR /jeecg-cloud-nacos
  6. EXPOSE 8848
  7. ADD ./target/jeecg-cloud-nacos-3.7.0.jar ./
  8. CMD sleep 1;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-nacos-3.7.0.jar