Add Dockerfile and captain-definition for container setup

This commit is contained in:
fzzinchemical
2025-03-25 21:52:28 +01:00
parent 650b78d298
commit 6e5a880867
3 changed files with 5 additions and 0 deletions

4
captain-definition Normal file
View File

@@ -0,0 +1,4 @@
{
"schemaVersion": 2,
"dockerfilePath": "./Dockerfile"
}

View File

@@ -104,6 +104,7 @@ export async function messagehandler(bot: Bot, message: Message) {
break; break;
// TODO Add exception for when the ollama api is down // TODO Add exception for when the ollama api is down
} }
}
function defaultString(s: string): string { function defaultString(s: string): string {
return s === "" ? "ERROR: Tried to send empty message" : s; return s === "" ? "ERROR: Tried to send empty message" : s;