mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 07:29:32 -05:00
23 lines
347 B
Docker
23 lines
347 B
Docker
# This Dockerfile builds the asb binary
|
|
|
|
FROM rust:1.79-slim AS builder
|
|
|
|
WORKDIR /build
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y git clang cmake libsnappy-dev
|
|
|
|
COPY . .
|
|
|
|
WORKDIR /build/swap
|
|
|
|
RUN cargo build --release --bin=asb
|
|
|
|
FROM debian:bookworm-slim
|
|
|
|
WORKDIR /data
|
|
|
|
COPY --from=builder /build/target/release/asb /bin/asb
|
|
|
|
ENTRYPOINT ["asb"]
|