diff --git a/admin/Dockerfile b/admin/Dockerfile index 4299285b..8c3f98cd 100644 --- a/admin/Dockerfile +++ b/admin/Dockerfile @@ -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"] diff --git a/admin/babel.cfg b/admin/babel.cfg index da3bbea4..f0234b32 100644 --- a/admin/babel.cfg +++ b/admin/babel.cfg @@ -1,3 +1,3 @@ -[python: freeposte/**.py] -[jinja2: freeposte/**/templates/**.html] +[python: **.py] +[jinja2: **/templates/**.html] extensions=jinja2.ext.autoescape,jinja2.ext.with_