Портфолио: Перенос Locales в контейнере
This commit is contained in:
parent
f4d91498a7
commit
fda0a1f503
2 changed files with 2 additions and 2 deletions
|
|
@ -13,4 +13,4 @@ RUN chmod 755 .
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN pybabel compile -d ../Locales -D bot
|
COPY Locales Mousey/Locales
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: Docker/Dockerfile
|
dockerfile: Docker/Dockerfile
|
||||||
command: sh -c "python -m Mousey to_update_telegram_profile"
|
command: sh -c "pybabel compile -d ./Mousey/Locales -D bot && python -m Mousey to_update_telegram_profile"
|
||||||
container_name: mousey_bot
|
container_name: mousey_bot
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
||||||
Reference in a new issue