restored prisma config ts file & added copy in dockerfile

This commit is contained in:
2026-03-19 14:01:34 +08:00
parent 85b7d0ee6f
commit 96135493a6
3 changed files with 15 additions and 12 deletions

14
prisma.config.ts Normal file
View File

@@ -0,0 +1,14 @@
// This file was generated by Prisma and assumes you have installed the following:
// npm install --save-dev prisma dotenv
import 'dotenv/config';
import { defineConfig, env } from 'prisma/config';
export default defineConfig({
schema: 'prisma/schema.prisma',
migrations: {
path: 'prisma/migrations',
},
datasource: {
url: env('DATABASE_URL'),
},
});