t
tRPC
t
tRPC
TRPC with dockerized frontend and backend
Original message was deleted
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,111
Members
View on Discord
N
Nick
•
3/14/23, 5:34 PM
It
’s probably best to build the frontend and then copy it into the docker image
N
Nick
•
3/14/23, 5:35 PM
This isn
’t a tRPC issue
, it
’s a monorepo one
, if you depend on other packages in the repo then you obviously can
’t copy just the one package in and build it
, you have to copy in the whole monorepo
N
Nick
•
3/14/23, 5:36 PM
Which is fine
, just you might increase your image clutter a lot
, a 2 stage builder pattern in docker can help there