Skip to content

osmanirosado/django-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Image

A simple Docker configuration to create Django examples.

First steps

Start a Django project with name mysite. You can use a different name.

docker-compose run web django-admin startproject mysite .

After the docker-compose command completes, list the contents of your project.

ls -l web

Start Django development server.

docker-compose up

Build

Build the image of web service

docker-compose build web

Save the image built

docker save django-image_web -o django-image_web.tar

References

Releases

No releases published

Packages

No packages published