Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-single-container

Docker commands:

Build:

docker build -t node-test-image .
# -t: tag a name

Run:

docker run \
--rm \
-it \
--name node-test-container \
-p 3000:3000 \
-v $(pwd):/app \
node-test-image

# --rm: remove the container after exit
# -it: open interective shell
# --name: give a name to the container
# -p: mapping the ports source:destination
# -v: mount a volumn source:destination
# $(pwd): prints current working directory 

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages