Name: django
Owner: docker-library
Description: Docker Official Image packaging for django
Created: 2014-12-04 20:36:24.0
Updated: 2018-01-04 00:53:58.0
Pushed: 2017-03-08 17:44:57.0
Homepage: https://www.djangoproject.com/
Size: 35
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This image is officially deprecated in favor of the standard python
image, and will receive no further updates after 2016-12-31 (Dec 31, 2016). Please adjust your usage accordingly.
For most usages of this image, it was already not bringing in django
from this image, but actually from your project's requirements.txt
, so the only “value” being added here was the pre-installing of mysql-client
, postgresql-client
, and sqlite3
for various uses of the django
framework.
For example, a Dockerfile
similar to the following would be a good starting point for a Django project using PostgreSQL:
python:3.4
apt-get update \
&& apt-get install -y --no-install-recommends \
postgresql-client \
&& rm -rf /var/lib/apt/lists/*
DIR /usr/src/app
requirements.txt ./
pip install -r requirements.txt
. .
SE 8000
["python", "manage.py", "runserver", "0.0.0.0:8000"]
This is the Git repo of the Docker official image for django. See the Docker Hub page for the full readme on how to use this Docker image and for information regarding contributing and issues.
The full readme is generated over in docker-library/docs, specifically in docker-library/docs/django.
See a change merged here that doesn't show up on the Docker Hub yet? Check the “library/django” manifest file in the docker-library/official-images repo, especially PRs with the “library/django” label on that repo. For more information about the official images process, see the docker-library/official-images readme.