dockerfile 372 B

123456789101112131415
  1. # 基础镜像
  2. FROM nginx
  3. # author
  4. MAINTAINER ruoyi
  5. # 挂载目录
  6. VOLUME /home/ruoyi/projects/bidding-ui
  7. # 创建目录
  8. RUN mkdir -p /home/ruoyi/projects/bidding-ui
  9. # 指定路径
  10. WORKDIR /home/ruoyi/projects/bidding-ui
  11. # 复制conf文件到路径
  12. COPY ./conf/nginx.conf /etc/nginx/nginx.conf
  13. # 复制html文件到路径
  14. COPY ./html/dist /home/ruoyi/projects/bidding-ui