mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 01:14:53 +03:00
Use simplified settings & set env variables for compiling translations
This commit is contained in:
parent
932c2824e9
commit
0e9316e2fd
|
@ -121,6 +121,8 @@ RUN chown django:django ${APP_HOME}
|
||||||
|
|
||||||
USER django
|
USER django
|
||||||
|
|
||||||
RUN python manage.py compilemessages
|
RUN DATABASE_URL="" \
|
||||||
|
DJANGO_SETTINGS_MODULE="config.settings.test" \
|
||||||
|
python manage.py compilemessages
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint"]
|
ENTRYPOINT ["/entrypoint"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user