Slimmed the image
All checks were successful
Publish FaceAI Container / publish (push) Successful in 2m54s

This commit is contained in:
MaddoScientisto 2026-04-19 11:25:25 +02:00
commit cf316c8563
8 changed files with 34 additions and 22 deletions

View file

@ -41,7 +41,7 @@ export async function runFaceMatcher({ matcherBinary, selfiePath, pklPath, csvPa
child.on('error', (error) => {
clearTimeout(timer);
if (error?.code === 'ENOENT') {
reject(new Error(`face_matcher not found at ${matcherBinary}. Check FACEAI_MATCHER_BINARY and the processor bind mount.`));
reject(new Error(`face_matcher not found at ${matcherBinary}. Check FACEAI_MATCHER_BINARY or the bundled Unix matcher binary in the processor image.`));
return;
}
reject(error);

View file

@ -21,7 +21,7 @@ async function ensureMatcherBinaryAvailable() {
await fs.access(config.matcherBinary, fsConstants.X_OK);
} catch (error) {
console.error(`FaceAI processor cannot start because the matcher binary is unavailable: ${config.matcherBinary}`);
console.error('Ensure FACEAI_MATCHER_BINARY points to a real executable and that the processor bind mount contains face_matcher.');
console.error('Ensure FACEAI_MATCHER_BINARY points to a real executable and that the processor image includes the Unix face_matcher binary.');
if (error?.code === 'ENOENT') {
console.error('The configured matcher path does not exist inside the processor runtime.');
} else if (error?.code === 'EACCES') {