2
0
Files
bot/packages/scripts/index.ts
Baptiste Arnaud 1f992c6779 fix(docker): 🐛 Fix the whole docker deployment pipeline
I've been able to deploy the application on another machine (finally).
2022-03-29 08:45:20 +02:00

15 lines
283 B
TypeScript

import { PrismaClient } from 'db'
import path from 'path'
require('dotenv').config({
path: path.join(
__dirname,
process.env.NODE_ENV === 'production' ? '.env.production' : '.env.local'
),
})
const prisma = new PrismaClient()
const main = async () => {}
main().then()