#!/bin/bash

# need to do this here because docker build has no env
python manage.py collectstatic --noinput
python manage.py migrate --noinput

exec gunicorn wsgi:application -b 0.0.0.0:8000 -w 2 --log-file -

#!/bin/bash

# need to do this here because docker build has no env
python manage.py collectstatic --noinput
python manage.py migrate --noinput

echo "$GIT_SHA" > static/revision.txt

exec gunicorn wsgi:application -b 0.0.0.0:8000 -w 2 --log-file -

Add commit SHA to static/revision.txt
Add commit SHA to static/revision.txt
