Skip to content

Commit

Permalink
fix: update binary name in the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniini committed Nov 6, 2024
1 parent c6b998b commit e2ead46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM docker.io/library/rust:1.82-alpine@sha256:466dc9924d265455aa73e72fd9cdac9db

WORKDIR /usr/src/app
COPY . .
RUN cargo build --release && ls target && cp ./target/release/secbench /bin/secbench
RUN cargo build --release && ls target && cp ./target/release/am-i-isolated /bin/am-i-isolated

FROM scratch AS final
ENTRYPOINT ["/bin/secbench"]
COPY --from=build /bin/secbench /bin/secbench
ENTRYPOINT ["/bin/am-i-isolated"]
COPY --from=build /bin/am-i-isolated /bin/am-i-isolated

0 comments on commit e2ead46

Please sign in to comment.