mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-21 14:08:51 -04:00
fix: Reintroduce Dockerfile
This commit is contained in:
parent
49cae19059
commit
77a43ba28c
1 changed files with 18 additions and 0 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
|||
FROM rust:1.59-slim AS builder
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y git clang cmake libsnappy-dev
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN cargo build --release --bin=asb
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
COPY --from=builder /build/target/release/asb /bin/asb
|
||||
|
||||
ENTRYPOINT ["asb"]
|
Loading…
Add table
Add a link
Reference in a new issue