Add new binaries to Dockerfile

This commit is contained in:
Brandon Thomas committed 2022-01-31 02:20:31 -05:00
1 parent 6cbcd7354c
commit e363f90eba
1 file changed
+14
+14
View File
@@ -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