mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-01-11 20:00:26 +01:00
build: compilemessages at build
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user