From 0641852483be45f8a797de51eeeb599fa443d008 Mon Sep 17 00:00:00 2001 From: Phil Freeman Date: Tue, 13 Feb 2024 15:47:06 -0800 Subject: [PATCH] Update Dockerfile Co-authored-by: Samir Talwar --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ea80517f..6b2cc3e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,10 +16,11 @@ COPY ./rust-connector-sdk . RUN cargo build --release FROM debian:buster-slim as connector -RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive \ - apt-get install --no-install-recommends --assume-yes\ - libssl-dev +RUN set -ex; \ + apt-get update; \ + DEBIAN_FRONTEND=noninteractive \ + apt-get install --no-install-recommends --assume-yes \ + libssl-dev COPY --from=build /app/target/release/ndc_hub_example ./ndc_hub_example ENTRYPOINT [ "/ndc_hub_example" ] CMD [ "serve" ]