I am trying to deploy nextjs application which uses nx monoropo. nx repo builds to “dist/apps/storefront/.next” where do i specify when i deploy as node server?
We have some different instructions based on if you are deploying as a node server vs a static site for next.js https://render.com/docs/deploy-nextjs-app. If you are using a monorepo, then you may need to cd into the right directory before running the commands, or specify which publish directory (if you choose the static site route).
We have monorepo support in early access as well, where you can define a root directory to run your commands https://render.com/docs/monorepo-support.
Let me know if you need further assistance here!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.