Page MenuHomePhabricator

D5125.id16625.diff
No OneTemporary

D5125.id16625.diff

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<dyn std::error::Error>> {
- tonic_build::compile_protos("protos/identity.proto")?;
+ tonic_build::compile_protos("../../shared/protos/identity.proto")?;
Ok(())
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 2, 8:31 AM (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2395873
Default Alt Text
D5125.id16625.diff (744 B)

Event Timeline