Skip to content

Commit

Permalink
Docker: ada-usd-connector init
Browse files Browse the repository at this point in the history
  • Loading branch information
mmahut committed Aug 28, 2020
1 parent f4e332e commit 6d274c8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions connectors/ada-usd-connector/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM rust:1.45.2 as builder
WORKDIR /usr/src/
RUN git clone https://github.com/ergoplatform/oracle-core.git
WORKDIR /usr/src/oracle-core/connectors/ada-usd-connector
RUN cargo build --release
RUN cargo install --path .

FROM rust:1.45.2-slim
COPY --from=builder /usr/local/cargo/bin/ada-usd-connector /usr/local/bin/ada-usd-connector
CMD ["ada-usd-connector"]

0 comments on commit 6d274c8

Please sign in to comment.