2019-09-30 00:39:16 +02:00
|
|
|
#!/usr/bin/dumb-init /bin/sh
|
2019-09-28 05:15:34 +02:00
|
|
|
set -e
|
|
|
|
cd /opt/app
|
|
|
|
|
|
|
|
alembic upgrade head
|
|
|
|
|
|
|
|
echo "Starting szurubooru API on port ${PORT}"
|
2020-06-05 16:54:32 +02:00
|
|
|
exec waitress-serve-3 --port ${PORT} szurubooru.facade:app
|