Files
tunarr/server/mikro-orm.config.ts
Christian Benincasa 5570631adc Packaging v0: Build and run server in a docker container (#139)
* This is a nightmare

* Checkpointing.... getting closer

* First cut - packaging the server in a docker container

* Remove busted bundles

* Minify build

* Some common commands for building - we're going to look into proper monorepo solutions soon

* Remove dependency on serve-static

* Add web serving, full-stack docker target, and Nvidia container support

* Remove test action graph for now
2024-03-05 13:13:26 -05:00

11 lines
455 B
TypeScript

import { defineConfig } from '@mikro-orm/better-sqlite';
import { TsMorphMetadataProvider } from '@mikro-orm/reflection';
import baseConfig from './mikro-orm.base.config.js';
export default defineConfig({
...baseConfig,
entities: ['./dao/entities'], // path to our JS entities (dist), relative to `baseDir`
entitiesTs: ['./src/dao/entities'], // path to our TS entities (src), relative to `baseDir`
metadataProvider: TsMorphMetadataProvider,
});