fix: 修复容器内 prisma CLI 路径找不到的问题

This commit is contained in:
2026-02-25 14:10:40 +08:00
parent 9f29fec453
commit 76a3effb5e
+1 -1
View File
@@ -42,4 +42,4 @@ ENV PORT=3000
ENV HOSTNAME="0.0.0.0"
ENV DATABASE_URL="file:/app/data/prod.db"
CMD ["sh", "-c", "node_modules/.bin/prisma db push && node server.js"]
CMD ["sh", "-c", "node node_modules/prisma/build/index.js db push && node server.js"]