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

18 lines
260 B
Docker

FROM rust:alpine AS builder
WORKDIR /phetch
COPY . .
RUN apk add openssl-dev
RUN cargo install --path .
FROM alpine
COPY --from=builder /usr/local/cargo/bin/phetch /usr/local/bin/
RUN chmod +x /usr/local/bin/phetch
ENTRYPOINT ["/usr/local/bin/phetch"]