FROM nginx COPY ./dist /usr/share/nginx/html # 更新配置 COPY ./docker/nginx/vhost/default.conf /etc/nginx/conf.d # 暴露端口 EXPOSE 80