🐳 Fixes for docker-compose

This commit is contained in:
2021-10-27 14:54:42 -07:00
parent a15bfafa01
commit c23bb85a8d

View File

@@ -90,8 +90,8 @@ export const extractCoverFromFile = async (
); );
const ebookMetaPath = `${process.env.CALIBRE_EBOOK_META_PATH}` || `ebook-meta`; const ebookMetaPath = `${process.env.CALIBRE_EBOOK_META_PATH}` || `ebook-meta`;
result = await calibre.run( result = await calibre.run(
`ebook-meta`, ebookMetaPath,
[path.resolve(constructedPaths.inputFilePath)], [constructedPaths.inputFilePath],
{ {
getCover: targetCoverImageFilePath, getCover: targetCoverImageFilePath,
} }