diff --git a/services/identity/Dockerfile b/services/identity/Dockerfile --- a/services/identity/Dockerfile +++ b/services/identity/Dockerfile @@ -18,7 +18,7 @@ RUN rm src/*.rs COPY services/identity . -COPY shared/protos/identity.proto protos/ +COPY shared/protos/identity.proto ../../shared/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("protos/identity.proto")?; + tonic_build::compile_protos("../../shared/protos/identity.proto")?; Ok(()) }