Add baseline migration and fix prisma deploy
Some checks failed
Build Docker Image / build (push) Has been cancelled

This commit is contained in:
Ruslan Bakiev
2026-03-09 10:18:33 +07:00
parent 3169f09672
commit bb5a202ec5
2 changed files with 82 additions and 1 deletions

View File

@@ -28,4 +28,4 @@ ENV INFISICAL_SECRET_PATHS="/exchange,/shared"
EXPOSE 8000
CMD ["sh", "-c", "node scripts/load-secrets.mjs && . ./.env.infisical && npx prisma migrate deploy && node dist/index.js"]
CMD ["sh", "-c", "node scripts/load-secrets.mjs && . ./.env.infisical && npx prisma migrate resolve --applied 0_init 2>/dev/null; npx prisma migrate deploy && node dist/index.js"]