HI my question is is it possible and if yes how to have dockerized frontend with TRPC and backend TRPC?
On local development its fine because in monorepo you build backend, frontend and link routers just fine. However if you try to dockerize frontend and backend on their own you of course get errors because TRPC on Frontend doesnt know TRPC on backend.
One solution comes to my mind.. When building frontend image to include backend code, build both and then remove backend from the image. Is this safe, secure and good solution? Or is there any other?
Any suggestions welcome. Thanks!