fix: Reintroduce Dockerfile

This commit is contained in:
binarybaron 2024-07-26 11:45:48 +02:00
parent 49cae19059
commit 77a43ba28c
No known key found for this signature in database
GPG Key ID: 99B75D3E1476A26E

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM rust:1.59-slim AS builder
WORKDIR /build
RUN apt-get update
RUN apt-get install -y git clang cmake libsnappy-dev
COPY . .
RUN cargo build --release --bin=asb
FROM debian:bullseye-slim
WORKDIR /data
COPY --from=builder /build/target/release/asb /bin/asb
ENTRYPOINT ["asb"]