From f4d91498a7089e2b83decea75d88cbd3076566ed Mon Sep 17 00:00:00 2001 From: geekiot Date: Fri, 22 Aug 2025 22:22:26 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D1=80=D1=82=D1=84=D0=BE=D0=BB?= =?UTF-8?q?=D0=B8=D0=BE:=20=D0=9D=D0=B5=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=D1=8C=D0=BD=D1=8B=D0=B9=20=D0=BF=D1=83=D1=82=D1=8C=20?= =?UTF-8?q?=D0=B2=20Docker-compose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Docker/Dockerfile | 2 ++ Docker/docker-compose.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Docker/Dockerfile b/Docker/Dockerfile index ebcd47c..76b94c8 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -12,3 +12,5 @@ RUN pip3 install -r requirements.txt RUN chmod 755 . COPY . . + +RUN pybabel compile -d ../Locales -D bot diff --git a/Docker/docker-compose.yaml b/Docker/docker-compose.yaml index 7b0c449..1f6a140 100644 --- a/Docker/docker-compose.yaml +++ b/Docker/docker-compose.yaml @@ -3,7 +3,7 @@ services: build: context: .. dockerfile: Docker/Dockerfile - command: sh -c "pybabel compile -d ./Locales -D bot && python -m Mousey to_update_telegram_profile" + command: sh -c "python -m Mousey to_update_telegram_profile" container_name: mousey_bot restart: always depends_on: