diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-02 17:58:24 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-02 18:35:20 -0600 |
| commit | 4351c74c7c5f97156bc94d3a8549b9940ac80e3f (patch) | |
| tree | 782542be4e438d264a88b4e19efa8fcedfdc5a0e /Dockerfile | |
| parent | bcafdf918489485aca2b405109187e66f2e645d5 (diff) | |
feat: implement cargo vendor and optimize Docker builds
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ FROM rust:alpine AS builder RUN apk add --no-cache musl-dev WORKDIR /app COPY . ./ -RUN cargo build --release --target x86_64-unknown-linux-musl +RUN cargo build --release --target x86_64-unknown-linux-musl --offline RUN strip /app/target/x86_64-unknown-linux-musl/release/authzd FROM gcr.io/distroless/static-debian12:nonroot |
