Skip to content

Commit

Permalink
Add METEOR_WAREHOUSE_URLBASE and --unsafe-perm
Browse files Browse the repository at this point in the history
In Meteor 1.4.2 `--unsafe-perm` will be required to be passed to `meteor` to run Meteor as root (as `docker` does).

Additionally, the METEOR_WAREHOUSE_URLBASE variable is set here to force usage of the still decent CDN and avoid meteor/meteor#7806.  I hope to remove this asap.
  • Loading branch information
abernix committed Oct 19, 2016
1 parent f38b47e commit 177cbb3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion base/scripts/lib/build_app.sh
Expand Up @@ -13,7 +13,13 @@ echo "=> Executing NPM install --production"
meteor npm install --production

echo "=> Executing Meteor Build..."
meteor build --directory $BUNDLE_DIR --server=http://localhost:3000
export
METEOR_WAREHOUSE_URLBASE=https://d3fm2vapipm3k9.cloudfront.net \
METEOR_LOG=debug \
meteor build \
--unsafe-perm \
--directory $BUNDLE_DIR \
--server=http://localhost:3000

echo "=> Printing Meteor Node information..."
echo " => platform"
Expand Down

0 comments on commit 177cbb3

Please sign in to comment.