You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines

  1. FROM alpine:3.12 AS builder
  2. RUN apk add --no-cache rust cargo openssl-dev
  3. WORKDIR /usr/src/crepo
  4. COPY Cargo.* ./
  5. COPY src ./src
  6. RUN cargo build --release
  7. FROM alpine:3.12
  8. RUN apk add --no-cache libgcc openssl
  9. COPY --from=builder /usr/src/crepo/target/release/crepo /usr/bin/
  10. CMD ["crepo"]