# ============================================ # Docker 部署 - 数据大屏管理系统 # 使用 Nginx 托管前端 + 反向代理 API # ============================================ FROM nginx:alpine # 将构建好的前端静态文件复制到 Nginx COPY dist/ /usr/share/nginx/html/ # 替换 Nginx 配置 COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 18800 CMD ["nginx", "-g", "daemon off;"]