Created
April 1, 2017 07:44
-
-
Save abhinavkorpal/efbb1157d25e195eef5f346cf7b7ccf4 to your computer and use it in GitHub Desktop.
Dockerfiles Comands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build -t <your name>/node . # -t is short for --tag, your name ~ is ~ Tag name, .(dot) is Build context | |
docker build -f Dockerfile -t abhinavkorpal/node . | |
docker run -d -p 8080:3000 abhinavkorpal/node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment