Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Project with Docker

Docker Commands

run the following command to build the Docker image:

$ docker build -t my-django-app .

Replace my-django-app with the desired name for your Docker image. Once the image is built, you can run it using:

$ docker run -it -p 8000:8000 my-django-app

This will start a new container from the my-django-app image and map port 8000 on the host machine to port 8000 in the container. You can then access your Django app by visiting http://localhost:8000 in your web browser.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages