# 基础镜像 FROM nginx # author MAINTAINER sooka # 挂载目录 VOLUME /home/sooka/projects/sooka-ui # 创建目录 RUN mkdir -p /home/sooka/projects/sooka-ui # 指定路径 WORKDIR /home/sooka/projects/sooka-ui # 复制conf文件到路径 COPY ./conf/nginx.conf /etc/nginx/nginx.conf # 复制html文件到路径 COPY ./html/dist /home/sooka/projects/sooka-ui