mirror of https://github.com/xvxx/phetch
Merge 5726f3d98b
into fee4e316e3
commit
5be0c1fb21
@ -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…
Reference in New Issue