Skip to content

Base Docker image for Django and Gunicorn.

License

Notifications You must be signed in to change notification settings

azavea/docker-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-django

CI

This repository contains a collection of templated Dockerfile for image variants designed to support Django through the Gunicorn WSGI HTTP server. In addition, these images include support for GeoDjango, PostgreSQL, and Gevent.

Usage

Template Variables

  • PYTHON_VERSION - Python interpreter version (for python:*-slim-bullseye images)

Testing

An example of how to use cibuild to build and test an image:

$ CI=1 VERSION=3.2 PYTHON_VERSION=3.9 \
  ./scripts/cibuild