FROM rust as builder ADD . /app WORKDIR /app COPY . . RUN cargo build --release --verbose --color always FROM photon as application COPY --from=builder /app/target/release/vaulted-cli ./vaulted-cli ENTRYPOINT [ "./vaulted-cli" ]