feat: add adclicks example

This commit is contained in:
2025-02-01 00:34:01 +01:00
parent aa1cec9986
commit 50aa9c7a14
8 changed files with 1726 additions and 58 deletions

View File

@@ -0,0 +1,17 @@
FROM rustlang/rust:nightly AS builder
WORKDIR /mnt/src
COPY Cargo.toml Cargo.toml
COPY Cargo.lock Cargo.lock
COPY src/ src/
RUN cargo build --release
FROM debian:bookworm AS production
RUN apt update && apt upgrade -y && apt install libssl-dev -y
COPY --from=builder /mnt/src/target/release/client-application /usr/local/bin/client-application
ENTRYPOINT ["/usr/local/bin/client-application"]