diff --git a/keyserver/Dockerfile b/keyserver/Dockerfile --- a/keyserver/Dockerfile +++ b/keyserver/Dockerfile @@ -121,8 +121,12 @@ COPY --chown=comm keyserver/addons/rust-node-addon/Cargo.toml \ keyserver/addons/rust-node-addon/ -# Copy in comm-opaque library, a dependency of rust-node-addon +# Copy comm-opaque and tunnelbroker-client shared libraries for rust-node-addon COPY --chown=comm shared/comm-opaque shared/comm-opaque/ +COPY --chown=comm shared/tunnelbroker-client shared/tunnelbroker-client/ + +# Copy protobuf files as a dependency for the shared client libraries +COPY --chown=comm shared/protos shared/protos/ # Copy in files needed for patch-package COPY --chown=comm patches patches/ diff --git a/keyserver/addons/rust-node-addon/Cargo.toml b/keyserver/addons/rust-node-addon/Cargo.toml --- a/keyserver/addons/rust-node-addon/Cargo.toml +++ b/keyserver/addons/rust-node-addon/Cargo.toml @@ -23,6 +23,7 @@ prost = "0.11" comm-opaque = {path = "../../../shared/comm-opaque"} lazy_static = "1.4" +tunnelbroker-client = {path = "../../../shared/tunnelbroker-client"} [build-dependencies] napi-build = "2.0.1"