Hi @spk
Could you try replacing the sleep 10 command with this command:
curl --head -X GET --retry 60 --retry-connrefused --retry-delay 1 http://localhost:3000
This can be used to wait for the app to start up in a more robust way. Rather than just waiting for ten seconds in hopes that it will be up in time.
Let me know how you get on and if it helps, I’ll add it into the course material.