Separate out to two binaries.
Some checks failed
format Build format has succeeded
clippy Build clippy has failed
rust-test Build rust-test has failed

This commit is contained in:
Tom Alexander
2024-09-29 14:32:20 -04:00
parent cdac8224c6
commit 0602f8472b
7 changed files with 177 additions and 128 deletions

View File

@@ -6,7 +6,7 @@ RUN mkdir /source
WORKDIR /source
COPY . .
# TODO: Add static build, which currently errors due to proc_macro. RUSTFLAGS="-C target-feature=+crt-static"
RUN CARGO_TARGET_DIR=/target cargo build --profile release-lto
RUN CARGO_TARGET_DIR=/target cargo build --profile release-lto --bin webhook_bridge
FROM alpine:3.20 AS runner