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:
parent
acf4addae0
commit
984b605d05
@ -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"]
|
||||
|
@ -1,3 +1,3 @@
|
||||
[python: freeposte/**.py]
|
||||
[jinja2: freeposte/**/templates/**.html]
|
||||
[python: **.py]
|
||||
[jinja2: **/templates/**.html]
|
||||
extensions=jinja2.ext.autoescape,jinja2.ext.with_
|
||||
|
Loading…
x
Reference in New Issue
Block a user