Sign inSign up

cmptstks/python

By cmptstks

Updated over 7 years ago

Python image with nginx + gunicorn.

Image
0

5.2K

cmptstks/python repository overview

Python Docker Images

Supported Tags:

Features:

  • gunicorn
  • nginx
  • cron

Prepare your application

Create the following files:

  • requirements.txt -- (optional) List any packages that should exist with pip.

  • crontab -- (optional) include any cron jobs.

  • gunicorn.conf -- Provide your gunicorn configuration for nginx.

    NOTE: Pay close attention to the command line. This must be changed for your application.

  • nginx.conf -- nginx settings for your application.

    NOTE: Update the root directory to match your application.

How to use with docker

docker run -d -v /path/to/local/app:/usr/src/app -p 80:80 cmptstks/python

Tag summary

Content type

Image

Digest

Size

448.1 MB

Last updated

over 7 years ago

docker pull cmptstks/python