pnpm in with-docker example #3346
Replies: 10 comments 21 replies
-
Would love to see that. Would also like to see an example that is a little more complex like with eg. nginx, vitejs, express, prisma and postgres. Kind of a template to quickly get going. |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? @bibblebabl |
Beta Was this translation helpful? Give feedback.
-
Could anyone of you get this working? |
Beta Was this translation helpful? Give feedback.
-
Still a massive pain, need a Docker + pnpm example |
Beta Was this translation helpful? Give feedback.
-
has anyone been able to deploy in docker using the example that was given? I am having trouble with it and getting this error |
Beta Was this translation helpful? Give feedback.
-
Ah I get it now. You must have the root If they point to nothing, you get this So either;
volumes:
- ./apps/jobs:/app/apps/jobs
- ./apps/jobs/node_modules:/app/apps/jobs/node_modules
# lol
- ./node_modules:/app/node_modules
Either way, those symlinks must point to something, or you're stuck. No issue with Another person found this to be true: #1997 (comment) Also big note/caveat, my use case is purely development with |
Beta Was this translation helpful? Give feedback.
-
Does anyone have a working version of a Dockerfile for an app? I cannot find this on GitHub and tried a lot of things, but I keep running into issues. I'm using PNPM. |
Beta Was this translation helpful? Give feedback.
-
We had to discontinue usage of |
Beta Was this translation helpful? Give feedback.
-
Also wasted 3 days on this already. anyone has a working pnpm repro for docker deployments and pnpm. none of the examples provide a example. i just want to deploy an app in with a dockerfile to a docker container |
Beta Was this translation helpful? Give feedback.
-
I got a setup working including a Let me know if this helped.
|
Beta Was this translation helpful? Give feedback.
-
It looks like pnpm is the most common package manager in your repository and examples. Turbo prune has recently got pnpm support. Do you have plans to update to update this example to pnpm? I was thinking of doing a PR, but I wanted to clarify, maybe you have your own thoughts on this.
Beta Was this translation helpful? Give feedback.
All reactions