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"]