Fix missing celery env variable when running compilemessages

This commit is contained in:
Bruno Alla 2023-06-18 12:53:56 +01:00
parent 1e40d7908f
commit 6bf776991f
No known key found for this signature in database

View File

@ -122,6 +122,9 @@ RUN chown django:django ${APP_HOME}
USER django
RUN DATABASE_URL="" \
{%- if cookiecutter.use_celery == "y" %}
CELERY_BROKER_URL="" \
{%- endif %}
DJANGO_SETTINGS_MODULE="config.settings.test" \
python manage.py compilemessages