Skip to content

nxvtej/DockerFile-basic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

optimize docker file to maintain max cache into image

image

image

add volume database

data/db is deafult location for mongodb will be different for postgress docker run -d -v volume_data:/data/db/ -p 27017:27017 mongo

add network to connect containers with another conatainers

image from week 15 live 2.2

normally it worked when i tried node on machine instead of container image

but same wont work for container need to create network so need to add network

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 51.4%
  • Dockerfile 21.6%
  • CSS 19.6%
  • JavaScript 7.4%