add docker config
This commit is contained in:
@@ -2,7 +2,7 @@ import path from 'path'
|
||||
import fs from 'fs'
|
||||
import type { Library, LibraryType } from '@/types'
|
||||
|
||||
const CONFIG_PATH = path.resolve(process.cwd(), 'libraries.json')
|
||||
const CONFIG_PATH = process.env.LIBRARIES_CONFIG_PATH ?? path.resolve(process.cwd(), 'libraries.json')
|
||||
const CONFIG_TMP = CONFIG_PATH + '.tmp'
|
||||
|
||||
export function getLibraries(): Library[] {
|
||||
|
||||
Reference in New Issue
Block a user