diff --git a/base/scripts/lib/build_app.sh b/base/scripts/lib/build_app.sh index 5c43919b..abdfe497 100644 --- a/base/scripts/lib/build_app.sh +++ b/base/scripts/lib/build_app.sh @@ -8,6 +8,8 @@ BUNDLE_DIR=/tmp/bundle-dir cp -R /app $COPIED_APP_PATH cd $COPIED_APP_PATH +meteor npm install + meteor build --directory $BUNDLE_DIR --server=http://localhost:3000 cd $BUNDLE_DIR/bundle/programs/server/ @@ -19,4 +21,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