#!/bin/bash # Build cd front npm run build cd ../back npm run build echo 'Build complete' # Run cd ../front env NEXT_PUBLIC_BACK_HOST='https://server.exozy.me' npm run start -- -p 5000 | \ env PORT=6000 node ../back/dist/index.js