How to set root directory in using monorepo?

I am using monorepo so I have to deploy my Node.js server at specific subdirectory. In Vercel, there is an option to choose root directory to deploy. Is there same function in render? I found similar post but did not help. Set project root to child directory
Thank you in advance.

We don’t have native monorepo support yet, but we’re actively working on it. You can subscribe to the feature request to be notified when early access is available.

In the meantime, you can prepend cd {subdirectory} && to your build and start commands to build and run the commands from the proper context.

1 Like

Actually I tried to avoid that way because I use pm2 as command runner. Anyway, thank you very much!

1 Like