git clone [email protected]:nhac/imagen.git
pip install -r imagen/imagen/requirements.freeze
pip install gunicorn
cd imagen/
export PYTHONPATH=`pwd`
cd imagen/
gunicorn -b 0.0.0.0:8000 app:app
git clone [email protected]:nhac/imagen.git
cd imagen/
docker build --tag=imagen --no-cache .
docker run -d -p 8000:8000 imagen
default: 8000
gunicorn port number
######IMAGEN_WORKERS
default: 10
gunicorn The number of worker processes for handling requests.