mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-25 10:19:18 -04:00
feat: Dockerfile for asb
This commit is contained in:
parent
1f322b78c8
commit
60a3177710
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@ -0,0 +1,18 @@
|
||||
FROM rust:1.74 AS builder
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y git clang cmake libsnappy-dev
|
||||
|
||||
RUN git clone https://github.com/comit-network/xmr-btc-swap .
|
||||
|
||||
RUN cargo build --release --bin=asb
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
COPY --from=builder /build/target/release/asb /bin/asb
|
||||
|
||||
ENTRYPOINT ["asb"]
|
Loading…
x
Reference in New Issue
Block a user