cammiechat/run.sh
2019-10-08 04:06:23 +02:00

6 lines
152 B
Bash
Executable file

#!/bin/bash
cd "$(dirname "$0")"
pipenv install
export FLASK_APP=chat.py
exec pipenv run gunicorn --worker-class eventlet -w 1 -b0.0.0.0:5000 chat:app