forked from enviPath/enviPy
[Chore] Build Docker Images on pushes to develop, main (#444)
Co-authored-by: Tim Lorsbach <tim@lorsba.ch> Reviewed-on: enviPath/enviPy#444
This commit is contained in:
9
entrypoint.sh
Normal file
9
entrypoint.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
if [ "${SKIP_DJANGO_SETUP:-false}" != "true" ]; then
|
||||
python manage.py migrate --no-input
|
||||
python manage.py collectstatic --no-input
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user