Skip to content

Commit

Permalink
fix: Reintroduce Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
binarybaron committed Jul 26, 2024
1 parent 45e14c5 commit c1213c3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit c1213c3

Please sign in to comment.