Skip to content

Commit

Permalink
Fix docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaoticTempest committed Nov 14, 2023
1 parent 3bd5077 commit 4ca4fe6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.multichain
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ RUN apt-get update \
RUN echo "fn main() {}" > dummy.rs
COPY node/Cargo.toml Cargo.toml
RUN sed -i 's#src/main.rs#dummy.rs#' Cargo.toml
RUN sed -i 's#mpc-keys = { path = "../keys" }##' Cargo.toml
RUN sed -i 's#mpc-contract = { path = "../contract" }##' Cargo.toml
RUN cargo build
COPY . .
RUN sed -i 's#"mpc-recovery",##' Cargo.toml
RUN sed -i 's#"integration-tests",##' Cargo.toml
RUN sed -i 's#"load-tests",##' Cargo.toml
RUN sed -i 's#"keys",##' Cargo.toml
RUN cargo build --package mpc-recovery-node

FROM debian:stable-slim as runtime
Expand Down

0 comments on commit 4ca4fe6

Please sign in to comment.