From a64699442ee7ad6c65bbc4d9ac0674dc5507ad44 Mon Sep 17 00:00:00 2001 From: Maple Nebel Date: Fri, 7 Nov 2025 18:06:22 +0000 Subject: [PATCH] fix auth backend in dockerfile --- Dockerfile | 6 +++--- rnex-core/src/grpc/mod.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0438d5e..70d1b46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,11 +25,11 @@ ENTRYPOINT ["/proxy_insecure"] FROM scratch AS proxy-secure-v1 COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/proxy_secure /proxy_secure ENTRYPOINT ["/proxy_secure"] - - + + FROM scratch AS backend-auth COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/backend_server_insecure /backend_server_insecure -ENTRYPOINT ["/backend_server_secure"] +ENTRYPOINT ["/backend_server_insecure"] FROM scratch AS backend-secure COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/backend_server_secure /backend_server_secure diff --git a/rnex-core/src/grpc/mod.rs b/rnex-core/src/grpc/mod.rs index 16cb73b..31831f8 100644 --- a/rnex-core/src/grpc/mod.rs +++ b/rnex-core/src/grpc/mod.rs @@ -4,5 +4,5 @@ //! This WILL be deprecated as soon as account rs is in a stable state. use tonic::{Request, Status}; -type InterceptorFunc = Box<(dyn Fn(Request<()>) -> Result, Status> + Send)>; +type InterceptorFunc = Box) -> Result, Status> + Send>; pub mod account; \ No newline at end of file