FROM registry.cn-hangzhou.aliyuncs.com/dockerhub_mirror/nginx

COPY ./dist /data

RUN rm /etc/nginx/conf.d/default.conf

ADD ymt-ui.conf /etc/nginx/conf.d/default.conf

RUN /bin/bash -c 'echo init ok'
