summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-10 16:01:33 -0600
committermo khan <mo@mokhan.ca>2025-07-10 16:01:33 -0600
commit1f2c4a659075a9383b804f30ece813ace46e3237 (patch)
tree4d4dbb93b1f4e34cb66e3e7eed8df388457180a4 /Dockerfile
parent59c4dfafb50c77e699d9d00ced8b8ef55e4064e6 (diff)
fix: specify the binary to build in the docker image
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index ecb28272..0e13dc2f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,7 +4,7 @@ FROM rust:alpine AS authzd-builder
RUN apk add --no-cache musl-dev
WORKDIR /app
COPY . ./
-RUN cargo build --release --target x86_64-unknown-linux-musl --offline
+RUN cargo build --bin authzd --release --target x86_64-unknown-linux-musl --offline
RUN strip /app/target/x86_64-unknown-linux-musl/release/authzd
# Build stage for getting Envoy binary