dockerfile 285 B

12345678910
  1. # 基础镜像
  2. FROM nacos/nacos-server
  3. # author
  4. MAINTAINER vctgo
  5. # 设置时区
  6. RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone
  7. # 复制conf文件到路径
  8. COPY ./conf/application.properties /home/nacos/conf/application.properties