faery-ring/Dockerfile

11 lines
274 B
Docker
Raw Normal View History

2022-02-08 22:49:07 +00:00
FROM rust:1.58-alpine AS builder
2021-11-09 18:09:19 +00:00
RUN apk update
RUN apk add musl-dev
ADD . .
RUN cargo build --target=x86_64-unknown-linux-musl --release
FROM scratch
COPY --from=builder target/x86_64-unknown-linux-musl/release/faery-ring /
ENTRYPOINT ["/faery-ring"]
CMD ["/domains.txt"]