Turborepo with Dockerfile 'server.js' not found when running image
Answered
Bighead carp posted this in #help-forum
Bighead carpOP
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"]2 Replies
Bighead carpOP
I've made an example repo https://github.com/pippinmole/broken-turborepo-example
Bighead carpOP
It was fixed by adding this line to my
next.config.tsAnswer