Axione-IPE-Viewer/webapp/startGunicornService
2023-10-06 15:50:35 +02:00

9 lines
215 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
POETRY_BIN=${REPO_DIR-/srv/www/ftth-ipe-map}/.poetry/bin
export PATH="/usr/bin/:/bin/:$POETRY_BIN"
poetry install
poetry run gunicorn -b "localhost:${PORT}" --timeout 120 'main:app'