Replicate Netlify deployment build on local for Gatsby

Hi @ajmalafif, can you try reproducing the issue using our build-image on your local machine? This post goes through the steps on how to debug your build with our build-image. Let me know how that goes.