fix: resolve Docker build failure - Add Prisma client generation step in Dockerfile - Remove unnecessary volume mount in deploy script

This commit is contained in:
theshy
2025-08-01 20:01:05 +08:00
parent 01c1e6a277
commit 8940101f8d
2 changed files with 17 additions and 2 deletions

View File

@ -41,7 +41,6 @@ docker run -d \
--restart always \
-p $PORT:3000 \
--env-file .env.production \
-v $(pwd)/prisma:/app/prisma \
$IMAGE_NAME
echo "部署完成!请访问 http://<你的服务器IP或域名>:$PORT"