szurubooru/server/docker-start.sh

8 lines
No EOL
176 B
Bash
Executable file

#!/usr/bin/dumb-init /bin/sh
set -e
cd /opt/app
alembic upgrade head
echo "Starting szurubooru API on port ${PORT}"
exec waitress-serve-3 --port ${PORT} szurubooru.facade:app