FROM docker.1ms.run/library/nginx:latest # 将 VitePress 构建产物拷贝到 Nginx 目录 COPY .vitepress/dist /usr/share/nginx/html # 暴露 80 端口 EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]