mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-01 11:06:13 -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 changed files with 5 additions and 1 deletions
|
@ -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
|
WORKDIR /build
|
||||||
|
|
||||||
|
@ -7,6 +9,8 @@ RUN apt-get install -y git clang cmake libsnappy-dev
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
WORKDIR /build/swap
|
||||||
|
|
||||||
RUN cargo build --release --bin=asb
|
RUN cargo build --release --bin=asb
|
||||||
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue