Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Co-authored-by: Samir Talwar <[email protected]>
  • Loading branch information
paf31 and SamirTalwar authored Feb 13, 2024
1 parent 5ad4782 commit 0641852
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit 0641852

Please sign in to comment.