From c18fea9ca3910328f8d114234805da305f878e1e Mon Sep 17 00:00:00 2001 From: goldpulpy Date: Sat, 9 Mar 2024 18:42:49 +0300 Subject: [PATCH] update docker starter --- docker-compose.yml | 4 +--- docker.sh | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9d7ee01..f94f1ab 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,8 +2,6 @@ version: '3.3' services: telegrambot: - container_name: telegrambot + container_name: geminibot build: . - volumes: - - ./chat_history.json:/app/chat_history.json restart: unless-stopped \ No newline at end of file diff --git a/docker.sh b/docker.sh index a271826..8ce5354 100644 --- a/docker.sh +++ b/docker.sh @@ -1,7 +1,5 @@ -$service_name = "telegrambot" +$service_name = "geminibot" docker rm -f $service_name && docker rmi -f $service_name docker build -t $service_name . -docker run -d --name $service_name \ - -v ./chat_history.json:/app/chat_history.json \ - $service_name +docker run -d --name $service_name $service_name