Docker - compilation des messages traduits pour l'application
This commit is contained in:
@ -11,6 +11,8 @@ elif [ "$1" = 'prod' ]; then
|
||||
export DJANGO_ENV='production'
|
||||
# Collect static files
|
||||
python3 manage.py collectstatic --noinput --clear -v 0
|
||||
# translations generation
|
||||
python3 manage.py compilemessages
|
||||
exec uwsgi --ini uwsgi.ini --pythonpath "$APPS_DIR" --static-map=/static/="$STATIC_ROOT"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user