cd /built_app
export PORT=80
node main.js
set -e

if [ -d /bundle ]; then
  cd /bundle
  tar xzf *.tar.gz
  cd /bundle/bundle/programs/server/
  npm i
  cd /bundle/bundle/
else
  cd /built_app
fi

export PORT=80
echo "starting meteor app on port:$PORT"
node main.js

Add bundle based deployment via volume
Add bundle based deployment via volume
