diff --git a/services/identity/proto/identity.proto b/native/cpp/CommonCpp/grpc/protos/identity.proto rename from services/identity/proto/identity.proto rename to native/cpp/CommonCpp/grpc/protos/identity.proto diff --git a/services/identity/Dockerfile b/services/identity/Dockerfile --- a/services/identity/Dockerfile +++ b/services/identity/Dockerfile @@ -18,6 +18,7 @@ RUN rm src/*.rs COPY services/identity . +COPY native/cpp/CommonCpp/grpc/protos/identity.proto protos/ # Remove the previously-built binary so that only the application itself is # rebuilt diff --git a/services/identity/build.rs b/services/identity/build.rs --- a/services/identity/build.rs +++ b/services/identity/build.rs @@ -1,4 +1,4 @@ fn main() -> Result<(), Box> { - tonic_build::compile_protos("proto/identity.proto")?; + tonic_build::compile_protos("protos/identity.proto")?; Ok(()) }