Files
slide/decks/gen2D/pages/deployment.md
T
wonder 659c22707b
Deploy Slides / build-and-deploy (push) Successful in 1m15s
fix: use relative paths for SVG imports to pass Vite fs.allow during build
Slidev converts <img src> to ES imports during build. Absolute paths like
/pipeline.svg resolve to the filesystem root, failing the slidev:slide-import-guard
plugin. Changed to relative ../public/ paths so imports resolve within the project.
2026-05-30 22:20:18 +08:00

533 B

部署架构

Docker Compose 双容器 + 一键部署

nginx 容器:Vite 构建产物 + 反向代理 `/api`。app 容器:Go 二进制 + SQLite 挂载。内部网络通信,nginx 暴露 8080 端口。 `docker compose up -d --build` 或 `./deploy.sh`。Gitee CI/CD 自动触发,SQLite 嵌入式零外部依赖。