Astro + Starlight 静态站点部署设计

共 53 字 约 1 分钟

架构原则

构建阶段使用 Node.js,生产阶段只运行 Nginx。静态站点无需常驻 Node.js 服务。

部署验证

Bash
UTF-8|4 Lines|
npm ci
npm run build
docker compose up -d --build
curl -I http://127.0.0.1:8088