Renamed tg bot container to telegrambot, moved prompt file to bot subproject

This commit is contained in:
Samuele Lorefice
2024-12-26 16:31:06 +01:00
parent 454dbb7e2a
commit 54691774e2
4 changed files with 8 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0C9A5F05-7CED-450F-9757-C641D75F8787}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0C9A5F05-7CED-450F-9757-C641D75F8787}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
compose.yaml = compose.yaml compose.yaml = compose.yaml
prompt\nemesis.txt = prompt\nemesis.txt
EndProjectSection EndProjectSection
EndProject EndProject
Global Global

View File

@@ -21,4 +21,10 @@
<PackageReference Include="Telegram.Bot" Version="22.2.0" /> <PackageReference Include="Telegram.Bot" Version="22.2.0" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Update="prompt\nemesis.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>

View File

@@ -1,7 +1,7 @@
services: services:
nemesisBot: nemesisBot:
image: telegrambot image: telegrambot
container_name: nemesisBot container_name: telegrambot
build: build:
context: . context: .
dockerfile: TelegramBot/Dockerfile dockerfile: TelegramBot/Dockerfile