transaction-watcher/inserter/Dockerfile

11 lines
257 B
Docker
Raw Normal View History

2023-03-29 15:37:22 +00:00
FROM rust:1.68.2-bullseye AS builder
WORKDIR /app
COPY . .
RUN cargo build --release
FROM debian:bullseye AS runtime
WORKDIR /app
RUN apt-get update && apt-get install -y curl
COPY --from=builder /app/target/release/inserter inserter
CMD ["/app/inserter"]