Refactor Dockerfile and schema.prisma for improved migration handling: Remove migration checks during build, enhance entrypoint script to validate DATABASE_URL and schema.prisma presence, and update schema.prisma to use environment variable for database URL.
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 14s

This commit is contained in:
Julien Froidefond
2025-12-19 08:47:06 +01:00
parent d6a1e21e9f
commit 881b8149e5
2 changed files with 9 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ generator client {
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model User {