timetracker/entrypoint.sh

8 lines
192 B
Bash

#!/bin/bash
# Apply database migrations
echo "Apply database migrations"
python src/web/manage.py migrate
# Start server
echo "Starting server"
python src/web/manage.py runserver 0.0.0.0:8000