server/docker: use Alpine-based image for space savings

This commit is contained in:
Shyam Sunder
2019-09-29 18:39:16 -04:00
parent 6da18036a4
commit 4fe9c5f4ca
5 changed files with 45 additions and 20 deletions

View File

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