1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-17 20:57:54 +02:00

Compile translations when building the admin container

This commit is contained in:
Pierre Jaury 2016-10-02 17:38:10 +02:00
parent acf4addae0
commit 984b605d05
2 changed files with 3 additions and 2 deletions

View File

@ -10,5 +10,6 @@ COPY requirements.txt .
COPY start.sh /start.sh
RUN pip install -r requirements.txt
RUN pybabel compile -d freeposte/translations
CMD ["/start.sh"]

View File

@ -1,3 +1,3 @@
[python: freeposte/**.py]
[jinja2: freeposte/**/templates/**.html]
[python: **.py]
[jinja2: **/templates/**.html]
extensions=jinja2.ext.autoescape,jinja2.ext.with_