Use simplified settings & set env variables for compiling translations

This commit is contained in:
Bruno Alla 2023-06-02 14:03:34 +01:00
parent 932c2824e9
commit 0e9316e2fd
No known key found for this signature in database

View File

@ -121,6 +121,8 @@ RUN chown django:django ${APP_HOME}
USER django
RUN python manage.py compilemessages
RUN DATABASE_URL="" \
DJANGO_SETTINGS_MODULE="config.settings.test" \
python manage.py compilemessages
ENTRYPOINT ["/entrypoint"]