/docker-django

Base Docker image for Django and Gunicorn.

Primary LanguageShellApache License 2.0Apache-2.0

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