Try debian:buster-slim instead of alpine
This commit is contained in:
parent
3c1f468c39
commit
fb810f0850
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue