mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: use absolute path for install script (cwd is /app/apps/api in Docker)
This commit is contained in:
@@ -128,7 +128,7 @@ export async function registerFeatureRoutes(app: FastifyInstance): Promise<void>
|
|||||||
}
|
}
|
||||||
|
|
||||||
const jobId = crypto.randomUUID();
|
const jobId = crypto.randomUUID();
|
||||||
const scriptPath = join(process.cwd(), "packages/ai/python/install_feature.py");
|
const scriptPath = "/app/packages/ai/python/install_feature.py";
|
||||||
const manifestPath = getManifestPath();
|
const manifestPath = getManifestPath();
|
||||||
const modelsDir = getModelsDir();
|
const modelsDir = getModelsDir();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user