try fixing prisma

This commit is contained in:
Dobromir Popov
2024-12-15 19:36:12 +02:00
parent 53a603f20e
commit 4f5a4ed63b
2 changed files with 12 additions and 1 deletions

View File

@ -16,7 +16,18 @@ services:
- GIT_USERNAME=deploy
- GIT_PASSWORD=L3Kr2R438u4F7
- ADMIN_PASSWORD=kolichkisofia2024
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"
command: >
sh -c "
cd /app &&
rm -rf node_modules package-lock.json &&
npm install --no-package-lock &&
npm uninstall @prisma/client prisma &&
npm install @prisma/client@5.22.0 prisma@5.22.0 --save-exact &&
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

0
package-lock.json generated
View File