mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-22 16:59:17 -04:00
fix(Dockerfile): Update image to 1.79 rust and build from /swap directory
This commit is contained in:
parent
0a122d57d3
commit
0847ac3c2e
@ -1,4 +1,6 @@
|
||||
FROM rust:1.59-slim AS builder
|
||||
# This Dockerfile builds the asb binary
|
||||
|
||||
FROM rust:1.79-slim AS builder
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
@ -7,6 +9,8 @@ RUN apt-get install -y git clang cmake libsnappy-dev
|
||||
|
||||
COPY . .
|
||||
|
||||
WORKDIR /build/swap
|
||||
|
||||
RUN cargo build --release --bin=asb
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
Loading…
x
Reference in New Issue
Block a user