Ghost + Gatsby production environment

Hi, i have two Environment on my machine:

port 2368 - ghost installation + ghost default theme frontend
port 8000 - gatsby + react, my actual frontend

now, im going to deploy it in a production enviroment, how i can do this? it is the unique way?

Who can explain how to deploy?