Axione-IPE-Viewer/webapp/startGunicornService
2023-03-03 14:33:52 +01:00

10 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'