#!/bin/sh # Only migrate, collectstatic and compilemessages if we are NOT in development if [ -z "$DEBUG" ]; then python src/manage.py migrate; python src/manage.py collectstatic --no-input; python src/manage.py compilemessages; fi exec "$@"