mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
server/docker: improved Dockerfile
This commit is contained in:
8
server/docker-start.sh
Executable file
8
server/docker-start.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/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
|
Reference in New Issue
Block a user