Axione-IPE-Viewer/webapp/startGunicornService

10 lines
215 B
Text
Raw Normal View History

#!/bin/bash
set -euo pipefail
2023-03-03 14:33:52 +01:00
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'