ry fixing npm prisma

This commit is contained in:
Dobromir Popov
2024-12-15 16:07:07 +02:00
parent c66adf4969
commit 53a603f20e

View File

@ -16,7 +16,7 @@ services:
- GIT_USERNAME=deploy
- GIT_PASSWORD=L3Kr2R438u4F7
- ADMIN_PASSWORD=kolichkisofia2024
command: sh -c " cd /app && npm install && npx next build && npx prisma migrate deploy && npx prisma generate && npm run start-env; tail -f /dev/null"
command: sh -c " cd /app && npm install && npm uninstall @prisma/client prisma && npm install @prisma/client@5.22.0 prisma@5.22.0 && npx next build && npx prisma migrate deploy && npx prisma generate && npm run start-env; tail -f /dev/null"
tty: true
stdin_open: true
restart: always