got Docker image down to 138mb from 1.8gb (#749)
This commit is contained in:
parent
41d6d5fafd
commit
3acb3cc640
@ -1,5 +1,7 @@
|
||||
FROM rust:1.39.0
|
||||
|
||||
|
||||
FROM rust:1.39.0 AS builder
|
||||
COPY . lighthouse
|
||||
RUN cd lighthouse && make && cargo clean
|
||||
|
||||
FROM debian:buster-slim
|
||||
RUN apt-get update && apt-get install -y libssl-dev
|
||||
COPY --from=builder /usr/local/cargo/bin/lighthouse /usr/local/bin/lighthouse
|
||||
|
Loading…
Reference in New Issue
Block a user