-
Hartung, Michael authored
Former-commit-id: 5742046b
Hartung, Michael authoredFormer-commit-id: 5742046b
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
docker-entrypoint.sh 376 B
#!/bin/bash
python3 manage.py migrate --run-syncdb
python3 manage.py createfixtures
python3 manage.py cleanuptasks
file="docker-entrypoint.lock"
# exit if entrypoint.lock exists to prevent new import of data every time docker is restarted
if ! test -f "$file"; then
sh import-data.sh
touch $file
fi
/usr/bin/supervisord -c "/etc/supervisor/conf.d/supervisord.conf"