Created
May 9, 2014 22:15
-
-
Save proppy/449f184d178c60277ed7 to your computer and use it in GitHub Desktop.
This file contains 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
$ ls | |
builder-context/ | |
myapp-context/ | |
Dockerfile | |
Dockerfile.template | |
$ docker build -t myapp-builder . # assemble my builder image | |
$ docker run myapp-builder # build my app | |
<output a tar w/ a Dockerfile on stdout> | |
$ docker run myapp-builder | docker build -t myapp - # build my app | |
$ docker run myapp # run my app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment