It is used to create the container for Django development.
1.5K
The project used to create a docker-image for python3 (default with django) container.
All the documentation and source code are published in GitHub.
Just simply execute the build command.
git clone https://github.com/kensonman/python kenson.python
cd kenson.python
docker build -t kensonman/python:latest .
The project will creating the iamge base on python:alpine image. It will provide an entrypoint for execution.
Create the Django project with basic application.
docker run --rm kensonman/python:latest create newapp
Make the specific translation messages.
docker run --rm kensonman/python:latest makemessages newapp zh_hant
Compile the translation messages.
docker run --rm kensonman/python:latest compilemessages newapp
Execute the Django testing environment.
docker run --rm kensonman/python:latest run 0.0.0.0:8000
Execute the specific Django command.
docker run --rm kensonman/python:latest exec createsuperuser --username kenson
Content type
Image
Digest
Size
205.3 MB
Last updated
over 5 years ago
docker pull kensonman/python