build: 更新构建配置和Dockerfile

- 将Node.js最低版本要求从22降至20以兼容更多环境
- 在vite配置中添加外部依赖解决构建问题
- 重构Dockerfile,优化构建流程并修复依赖安装问题
- 更新nginx配置和容器启动命令
This commit is contained in:
feige996
2025-09-17 12:12:50 +08:00
parent 4e3942eca8
commit ebd4694aa6
3 changed files with 33 additions and 12 deletions

View File

@@ -22,7 +22,7 @@
"url-old": "https://github.com/codercup/unibest/issues"
},
"engines": {
"node": ">=22",
"node": ">=20",
"pnpm": ">=9"
},
"scripts": {