1
0
mirror of https://github.com/vbrandl/bind9-api.git synced 2025-07-19 13:26:12 +02:00

1 Commits

Author SHA1 Message Date
6688ffebbc Update dependencies
Applyed `cargo update`
2023-12-27 13:18:29 +01:00
3 changed files with 1668 additions and 1160 deletions

2805
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,22 +0,0 @@
FROM lukemathwalker/cargo-chef as planner
WORKDIR app
COPY . .
RUN cargo chef prepare --recipe-path recipe.json
FROM lukemathwalker/cargo-chef as cacher
WORKDIR app
COPY --from=planner /app/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json
FROM rust as builder
WORKDIR app
COPY . .
# Copy over the cached dependencies
COPY --from=cacher /app/target target
COPY --from=cacher $CARGO_HOME $CARGO_HOME
RUN cargo build --release --bin bind9-api
FROM rust as runtime
WORKDIR app
COPY --from=builder /app/target/release/bind9-api /usr/local/bin
ENTRYPOINT ["/usr/local/bin/bind9-api"]

File diff suppressed because one or more lines are too long