Gunicorn 으로 nginx 와 app 연결하기

Python WSGI HTTP Server for UNIX

Gunicorn

  • Python WSGI HTTP Server for UNIX

Installation

$ pip install gunicorn

docker-entry.sh

#!/usr/bin/env bash
exec gunicorn server:app \
  --worker-class gunicorn.workers.ggevent.GeventWorker \
  --bind 0.0.0.0:$PORT "$@"

Last updated