Separate out to two binaries.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user