diff --git a/Dockerfile b/Dockerfile index 819d586a3..8bf75b2bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:stretch as base +FROM rust:stretch as builder RUN apt-get update && \ apt-get install -y --no-install-recommends \ @@ -22,7 +22,7 @@ COPY . . RUN rustc -V; cargo -V; rustup -V; cargo test --all && cargo build --release -FROM alpine:latest -COPY --from=base /zebra/target/release/zebrad . +FROM debian:buster-slim +COPY --from=builder /zebra/target/release/zebrad . ENV PORT 8233 CMD ["./zebrad", "seed"]