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: