Docker + Turbo + PNPM + Convex
Has anyone been able to get your app (web rr7) running in a docker container? I am getting a lot of module resolution errors at build time. In the dev environment it runs perfectly fine .. I am curious if anyone has an example repo?
3 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
I fought through that battle a few weeks ago. Unfortunately it's for a work project, so I can't share the repo, but I can try to help anyway.
Let me dig up the dockerfile that I ended up using...
apps/staff-portal
is the root folder for the app in my case. The Convex stuff is in packages/backend/convex
Let me know if that gets you anywhere. FWIW I'm still really green with Docker, and it took help from the Docker forum to get this far.really appreciate it! I'll have a look at it, thanks man 🙂