xmr-btc-swap/Dockerfile

19 lines
285 B
Docker
Raw Normal View History

2024-07-16 05:11:40 -04:00
FROM rust:1.59-slim AS builder
2024-07-16 04:43:47 -04:00
WORKDIR /build
RUN apt-get update
RUN apt-get install -y git clang cmake libsnappy-dev
2024-07-16 05:11:40 -04:00
COPY . .
2024-07-16 04:43:47 -04:00
RUN cargo build --release --bin=asb
FROM debian:bullseye-slim
WORKDIR /data
COPY --from=builder /build/target/release/asb /bin/asb
ENTRYPOINT ["asb"]