From 5a3faa9fb306fdbf8ac686a06c62ced709c20135 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 10 May 2021 23:21:23 -0400 Subject: [PATCH] fix dockerfile bug, rename image --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 16f68279cb..40394fad80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ RUN $HOME/.cargo/bin/cargo fetch RUN LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} $HOME/.cargo/bin/cargo build --release # Final image -#FROM ubuntu:xenial +FROM ubuntu:xenial WORKDIR / # NB: Comment this out for non-debug images @@ -36,8 +36,8 @@ RUN apt-get update \ curl \ wget -#COPY --from=build /tmp/target/debug/twitch-firehose / -COPY --from=build /tmp/target/release/twitch-firehose / +#COPY --from=build /tmp/target/debug/twitch-ingestion-client / +COPY --from=build /tmp/target/release/twitch-ingestion-client / # SSL certs are required for crypto COPY --from=build /etc/ssl /etc/ssl @@ -47,8 +47,8 @@ COPY --from=build /lib/x86_64-linux-gnu/libssl.* /lib/x86_64-linux-g COPY --from=build /lib/x86_64-linux-gnu/libcrypto.* /lib/x86_64-linux-gnu/ # Make sure all the links resolve -RUN ldd twitch-firehose +RUN ldd twitch-ingestion-client EXPOSE 8080 -CMD LD_LIBRARY_PATH=/usr/lib /twitch-firehose +CMD LD_LIBRARY_PATH=/usr/lib /twitch-ingestion-client