feat: add adclicks example
This commit is contained in:
17
client-application/Dockerfile
Normal file
17
client-application/Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user