Turborepo with Dockerfile 'server.js' not found when running image
Answered
Southern rough shrimp posted this in #help-forum
Southern rough shrimpOP
I'm trying to move to turborepo, I've rewritten my Dockerfile, it builds but the entry point is completely different to what the Turborepo docs say.
CMD ["node", "/app/apps/web/.next/standalone/apps/web/server.js"]Answered by Southern rough shrimp
It was fixed by adding this line to my
next.config.ts2 Replies
Southern rough shrimpOP
I've made an example repo https://github.com/pippinmole/broken-turborepo-example
Southern rough shrimpOP
It was fixed by adding this line to my
next.config.tsAnswer