From e363f90eba072df90bf5201646c6bfbb6fd694a8 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 31 Jan 2022 02:20:31 -0500 Subject: [PATCH] Add new binaries to Dockerfile --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Dockerfile b/Dockerfile index 443fa23df4..88df556a05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -191,6 +191,18 @@ RUN SQLX_OFFLINE=true \ --release \ --bin w2l-inference-job +RUN SQLX_OFFLINE=true \ + LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \ + $HOME/.cargo/bin/cargo build \ + --release \ + --bin obs-gateway + +RUN SQLX_OFFLINE=true \ + LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \ + $HOME/.cargo/bin/cargo build \ + --release \ + --bin twitch-pubsub-job + # Final image # FROM ubuntu:xenial FROM pybuild-requirements as final @@ -233,6 +245,8 @@ COPY --from=rust-build /tmp/target/release/tts-download-job / COPY --from=rust-build /tmp/target/release/tts-inference-job / COPY --from=rust-build /tmp/target/release/w2l-download-job / COPY --from=rust-build /tmp/target/release/w2l-inference-job / +COPY --from=rust-build /tmp/target/release/obs-gateway / +COPY --from=rust-build /tmp/target/release/twitch-pubsub-job / # SSL certs are required for crypto COPY --from=rust-build /etc/ssl /etc/ssl