crawlerApp/entrypoint.sh

6 lines
146 B
Bash

#!/bin/sh
python manage.py migrate --no-input
python manage.py collectstatic --no-input
gunicorn crawlerApp.wsgi:application --bind 0.0.0.0:8000