Sign inSign up

zilman/gunicorn

By zilman

•Updated about 10 years ago

Python 2.7 based image with gunicorn and dynamic configuration setup from environment variables.

Image
0

1.0K

zilman/gunicorn repository overview

⁠Usage

Add your dependencies, inject a WSGI app file, expose a port, that's it.

⁠Example Dockerfile⁠
FROM zilman/gunicorn
RUN pip install meinheld falcon

COPY app.py /

EXPOSE 8000

  • GUNICORN prefixed environment variables are forwarded as configuration options.
  • The CMD is the pairing of the WSGI app name and path to the file.

See here⁠ for gunicorn configuration options.

⁠Example
docker run -d -e GUNICORN_BIND=0.0.0.0:8000 -e GUNICORN_ACCESSLOG=- -p 8000:8000 <yourcontainer>

Tag summary

Content type

Image

Digest

Size

253.9 MB

Last updated

about 10 years ago

docker pull zilman/gunicorn