I was wondering how people tend to share proto files between clients and servers in docker composites? I'm testing out gRPC for fun and created a project with the following layout:
docker-compose.yml
front/Dockerfile
...
back/Dockerfile
proto/
...
Here front
is the gRPC client to the back
server. Now back/proto
contains the protobuf files that I need for generating the client stub. The problem here is that this is outside the context for front
. Anyone who uses these have any best practices to share for handling this?