~nickbp/kapiti

kapiti/Dockerfile -rw-r--r-- 232 bytes
4697278fNick Parker Give some files better names (http=>fetcher, then downloader=>updater to avoid confusion with fetcher) 2 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