pull/28/merge
stefins 2 years ago committed by GitHub
commit 5be0c1fb21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,17 @@
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"]
Loading…
Cancel
Save