diff --git a/Dockerfile b/Dockerfile index 443fa23df..88df556a0 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