From c88ff2e18f62410c6682b5a0b2fec3c83b7af04f Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Wed, 31 May 2023 10:59:52 +0100 Subject: [PATCH] Run compilemessages when building production image --- .../compose/production/django/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile b/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile index 4c8695a57..4b243b675 100644 --- a/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile +++ b/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile @@ -121,4 +121,6 @@ RUN chown django:django ${APP_HOME} USER django +RUN python manage.py compilemessages + ENTRYPOINT ["/entrypoint"]