feat: add Prisma configuration file and update Dockerfile to include it

This commit is contained in:
Nils-Johan Gynther
2026-04-15 20:53:45 +02:00
parent 944a670a84
commit c9ef587eb1
4 changed files with 16 additions and 1 deletions
+4
View File
@@ -8,6 +8,10 @@ export class PrismaService
{
private readonly logger = new Logger(PrismaService.name);
constructor() {
super({ datasourceUrl: process.env.DATABASE_URL });
}
async onModuleInit() {
const maxAttempts = 10;
const delayMs = 3000;