Sign inSign up

phillaf/docker-django

By phillaf

•Updated almost 11 years ago

django image with git support

Image
0

283

phillaf/docker-django repository overview

⁠docker-django

Image comes with the following:
Python 2.7
Django 1.9
Git ssh-client

Regular Django image with support added for git dependencies in pip's requirements.txt

⁠Usage

Start the container with something like this

docker run \
    --name myApp \
    -v "$PWD":/usr/src/app \
    -v /root/.ssh:/root/.ssh \
    -w /usr/src/app \
    -p 8000:8000 \
    docker-django bash -c "sh install.sh && python manage.py runserver 0.0.0.0:8000"

Tag summary

Content type

Image

Digest

Size

279.8 MB

Last updated

almost 11 years ago

docker pull phillaf/docker-django