diff --git a/base/scripts/lib/build_app.sh b/base/scripts/lib/build_app.sh index 5c43919b..1f085980 100644 --- a/base/scripts/lib/build_app.sh +++ b/base/scripts/lib/build_app.sh @@ -8,7 +8,7 @@ BUNDLE_DIR=/tmp/bundle-dir cp -R /app $COPIED_APP_PATH cd $COPIED_APP_PATH -meteor build --directory $BUNDLE_DIR --server=http://localhost:3000 +sudo meteor build --directory $BUNDLE_DIR --server=http://localhost:3000 cd $BUNDLE_DIR/bundle/programs/server/ npm i @@ -19,4 +19,4 @@ mv $BUNDLE_DIR/bundle /built_app rm -rf $COPIED_APP_PATH rm -rf $BUNDLE_DIR rm -rf ~/.meteor -rm /usr/local/bin/meteor \ No newline at end of file +rm /usr/local/bin/meteor