fix prima

This commit is contained in:
Dobromir Popov
2024-12-14 04:26:39 +02:00
parent 138918c043
commit 3ef9738266
11 changed files with 70 additions and 492 deletions

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 && npm run start-env; tail -f /dev/null"
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"
tty: true
stdin_open: true
restart: always