Created
March 18, 2015 04:23
-
-
Save bradgessler/82cc7cecae6137e1ec2a to your computer and use it in GitHub Desktop.
Fast bundler
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
#!/usr/bin/env bash | |
export IMAGE_NAME=my_app | |
CONTAINER_ID=$(docker run -d $IMAGE_NAME bundle $@) | |
docker logs -f $CONTAINER_ID | |
docker commit $CONTAINER_ID $IMAGE_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment