Skip to content

Instantly share code, notes, and snippets.

@MatthewRDodds
Last active August 29, 2015 14:14
Show Gist options
  • Save MatthewRDodds/671d517776422a399d77 to your computer and use it in GitHub Desktop.
Save MatthewRDodds/671d517776422a399d77 to your computer and use it in GitHub Desktop.
Ember Build for dist
docker run --rm -v=$PWD:/usr/src/app visualjeff/ember-cli:0.1.12 bash -c "cd /usr/src/app; npm install; bower install --allow-root; ember build"
docker run --rm -v=`pwd`:/usr/src/app -t visualjeff/ember-cli:0.1.12 /bin/bash -c "cd /usr/src/app; npm install; bower install --allow-root; ember build"
docker run --rm -e "EMBER_ENV=$RAILS_ENV" -v=`pwd`:/usr/src/app visualjeff/ember-cli:0.1.12 bash -c "cd /usr/src/app; npm install; bower install --allow-root; ember build --environment $EMBER_ENV"
docker run --rm -e "EMBER_ENV=qa" -v=`pwd`:/usr/src/app visualjeff/ember-cli:0.1.12 bash -c "cd /usr/src/app; npm install --force; bower install --force --allow-root; ember build --environment $EMBER_ENV"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment