chore(deploy): 完善 lotteryfront 单机部署流程
Some checks failed
lotteryfront CI / build (push) Has been cancelled

This commit is contained in:
2026-07-07 15:32:03 +08:00
parent 396b3c47de
commit a86e8a2c67
4 changed files with 28 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev --port 3800 -H 0.0.0.0",
"build": "next build",
"build": "next build && cp -r .next/static .next/standalone/.next/static && cp -r public .next/standalone/public && echo '✅ standalone 静态资源已复制完毕'",
"start": "next start --port 3800",
"lint": "eslint"
},