#! /bin/bash cp config.production2.yaml config.yaml npm run build NODE_ENV=production pm2 restart main