~nickbp/originz

ref: 41895a73626b9e101ebd940b9de825c18ceb27f1 originz/Dockerfile -rw-r--r-- 232 bytes
41895a73Nick Parker Only build binary in docker build 11 months ago
                                                                                
1
2
3
4
5
6
7
8
# Builds an image containing the kapiti binary and little else.
FROM rust:slim
COPY . /kapiti
RUN cd /kapiti && cargo build --release

FROM debian:buster-slim
COPY --from=0 /kapiti/target/release/kapiti /kapiti
RUN chmod +x /kapiti