Skip to content

Commit 36b3cbf

Browse files
committed
add Dockerfile for demo example
1 parent 894ce91 commit 36b3cbf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM rustlang/rust:nightly as build
2+
WORKDIR multi-party-ecdsa
3+
COPY ./ ./
4+
RUN cargo build --release --examples
5+
6+
FROM ubuntu:18.04
7+
WORKDIR multi-party-ecdsa
8+
COPY --from=build /multi-party-ecdsa/target/release/examples/sm_manager .
9+
COPY --from=build /multi-party-ecdsa/target/release/examples/gg18_keygen_client .
10+
COPY --from=build /multi-party-ecdsa/target/release/examples/gg18_sign_client .
11+
12+
EXPOSE 8001

0 commit comments

Comments
 (0)