fix: remove crontab add from entrypoint, handled by dedicated cron service in compose
This commit is contained in:
@@ -13,9 +13,6 @@ python manage.py migrate --noinput
|
|||||||
echo "Collecting static files..."
|
echo "Collecting static files..."
|
||||||
python manage.py collectstatic --noinput
|
python manage.py collectstatic --noinput
|
||||||
|
|
||||||
echo "Setting up crontab..."
|
|
||||||
python manage.py crontab add
|
|
||||||
|
|
||||||
echo "Starting Gunicorn..."
|
echo "Starting Gunicorn..."
|
||||||
exec gunicorn busManager.wsgi:application \
|
exec gunicorn busManager.wsgi:application \
|
||||||
--bind 0.0.0.0:8000 \
|
--bind 0.0.0.0:8000 \
|
||||||
|
|||||||
Reference in New Issue
Block a user