szurubooru/server/docker-start.sh
2020-06-05 10:54:32 -04:00

8 lines
177 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