9 lines
215 B
Bash
Executable file
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'
|