gold eggs backend
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
This commit is contained in:
14
scripts/entrypoint.sh
Normal file
14
scripts/entrypoint.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
python3 manage.py collectstatic --no-input &
|
||||
python3 manage.py migrate --no-input &
|
||||
python3 manage.py runserver 0.0.0.0:8000 &
|
||||
|
||||
celery -A config worker --loglevel=info &
|
||||
|
||||
sleep 10 && celery -A config beat --loglevel=info &
|
||||
sleep 10 && celery -A config flower --loglevel=info &
|
||||
|
||||
gunicorn config.wsgi:application --bind 0.0.0.0:8000
|
||||
|
||||
exit $?
|
||||
Reference in New Issue
Block a user