# 基础镜像
FROM nginx
# author
MAINTAINER fast
# 挂载目录
VOLUME /app
# 删除默认conf
RUN rm -rf /etc/nginx/conf.d/default.conf
# 自定义conf
ADD nginx.conf /etc/nginx/conf.d/.
# 添加html
ADD ./dist /usr/share/nginx/html/fast-ui
EXPOSE 80
EXPOSE 443