From 54691774e293cc03d2fe9dbaf2877ed7a22544d1 Mon Sep 17 00:00:00 2001 From: Samuele Lorefice Date: Thu, 26 Dec 2024 16:31:06 +0100 Subject: [PATCH] Renamed tg bot container to telegrambot, moved prompt file to bot subproject --- NemesisAI.sln | 1 + TelegramBot/TelegramBot.csproj | 6 ++++++ {prompt => TelegramBot/prompt}/nemesis.txt | 0 compose.yaml | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) rename {prompt => TelegramBot/prompt}/nemesis.txt (100%) diff --git a/NemesisAI.sln b/NemesisAI.sln index b46483d..f1c54ff 100644 --- a/NemesisAI.sln +++ b/NemesisAI.sln @@ -5,6 +5,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0C9A5F05-7CED-450F-9757-C641D75F8787}" ProjectSection(SolutionItems) = preProject compose.yaml = compose.yaml + prompt\nemesis.txt = prompt\nemesis.txt EndProjectSection EndProject Global diff --git a/TelegramBot/TelegramBot.csproj b/TelegramBot/TelegramBot.csproj index eaafef8..f73718d 100644 --- a/TelegramBot/TelegramBot.csproj +++ b/TelegramBot/TelegramBot.csproj @@ -21,4 +21,10 @@ + + + PreserveNewest + + + diff --git a/prompt/nemesis.txt b/TelegramBot/prompt/nemesis.txt similarity index 100% rename from prompt/nemesis.txt rename to TelegramBot/prompt/nemesis.txt diff --git a/compose.yaml b/compose.yaml index aaa3046..cb75225 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,7 +1,7 @@ services: nemesisBot: image: telegrambot - container_name: nemesisBot + container_name: telegrambot build: context: . dockerfile: TelegramBot/Dockerfile