Standard starter template for django.
docker build -t <name> .
This will build your container from the Dockerfile
. Feel free to change the dockerfile to fit your use case.
docker run -it -p 8020:8020 \
-e DJANGO_SUPERUSER_USERNAME=admin \
-e DJANGO_SUPERUSER_PASSWORD=sekret1 \
-e DJANGO_SUPERUSER_EMAIL=admin@example.com \
[image_name]