build: compilemessages at build

This commit is contained in:
Herculino Trotta
2024-10-11 01:57:04 -03:00
parent b6f8c224f0
commit 9dbdad5190
2 changed files with 4 additions and 0 deletions

View File

@@ -164,6 +164,8 @@ USE_I18N = True
USE_TZ = True
LOCALE_PATHS = [BASE_DIR / "locale"]
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/5.1/howto/static-files/

View File

@@ -75,3 +75,5 @@ RUN chown -R app:app /temp
# change to the app user
USER app
RUN python manage.py compilemessages --settings "WYGIWYH.settings"