legacy/pairent_backend/docker-entry.sh

6 lines
127 B
Bash

#!/bin/sh
PYTHON='/usr/bin/env python3'
$PYTHON manage.py migrate
$PYTHON -m gunicorn -w 3 -b 0.0.0.0:80 pairent_backend.wsgi