v0.15.0: Docker 化部署(OVH-US-BAK)

- Dockerfile(oven/bun 多阶段:构建 dist + 全量 node_modules 运行时)
- deploy/docker-compose.yml(postgres:18 + app,uploads 双挂载同宿主目录)
- .dockerignore(uploads 经卷挂载不进镜像,避免 3GB 膨胀)
- prod-server /uploads/* 运行时直读磁盘(媒体上传后无需重启即可访问,含路径穿越防护)
- README Docker 部署章节
This commit is contained in:
bigcode
2026-11-04 15:15:58 +08:00
parent 62e6bcfcd2
commit c3df5d9db1
6 changed files with 104 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dusuniot-rebuild",
"version": "0.14.0",
"version": "0.15.0",
"private": true,
"type": "module",
"scripts": {