From a348639f879b7d9824ea0e2868b2548b88813caa Mon Sep 17 00:00:00 2001 From: Daniel Tsvetkov Date: Tue, 18 Jan 2022 20:55:00 +0000 Subject: [PATCH] prod gunicorn --- prod.sh | 2 ++ requirements.txt | 1 + 2 files changed, 3 insertions(+) create mode 100755 prod.sh diff --git a/prod.sh b/prod.sh new file mode 100755 index 0000000..454d2b3 --- /dev/null +++ b/prod.sh @@ -0,0 +1,2 @@ +#!/bin/bash +gunicorn -w 4 -b 0.0.0.0:5008 app:app diff --git a/requirements.txt b/requirements.txt index b019c33..c950cc6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ click==8.0.3 Flask==2.0.2 +gunicorn==20.1.0 itsdangerous==2.0.1 Jinja2==3.0.3 MarkupSafe==2.0.1