A dockerfile to run django.The official image (https://hub.docker.com/_/django/) is deprecated.
141
A dockerfile to run django
The official docker image for django is deprecated since 31 Dec 2016. Even that did not seem development friendly, since it generated images with a copied version of the project instead of a mounted project folder.
https://github.com/malcata/docker-django.git
$ export SOURCE_DIR="<project source folder>"
$ make build
export SOURCE_DIR?=~/source/project
# ONLY NEEDED FOR NEW PROJECTS
export PROJECT_NAME?=newproject
export DJANGO_SECRET_KEY?=pleasereplacethis
$ make startproject
$ make run
Check the Makefile for further details.
Please follow the Github flow process (branch, commits and pull request)...
The code in this repository, unless otherwise noted, is MIT licensed. See the 'LICENSE' file in this repository.
Content type
Image
Digest
Size
287.5 MB
Last updated
over 9 years ago
docker pull malcata/docker-django