Files
tunarr/server/mikro-orm.prod.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

15 lines
385 B
TypeScript

import { GeneratedCacheAdapter, defineConfig } from '@mikro-orm/better-sqlite';
import baseConfig from './mikro-orm.base.config.js';
import metadataJson from './temp/metadata.json' assert { type: 'json' };
export default defineConfig({
...baseConfig,
metadataCache: {
enabled: true,
adapter: GeneratedCacheAdapter,
options: {
data: metadataJson,
},
},
});