Reduce proto dependencies in proxy/Dockerfile
Reduce the dependencies on files under proto/ to eliminate Docker
detecting false dependencies that trigger rebuilds.
@@ -43,7 +43,8 @@ RUN if [ -n "$PROXY_UNOPTIMIZED" ]; \
fi
# Build gRPC bindings, leaving the proxy mocked out.
-COPY proto proto
+COPY proto/proxy proto/proxy
+COPY proto/common proto/common
COPY proxy/controller-grpc proxy/controller-grpc
RUN if [ -n "$PROXY_UNOPTIMIZED" ]; \
then cargo build -p conduit-proxy-controller-grpc --features=arbitrary --locked ; \
