FROM rust:alpine AS build RUN apk add musl-dev WORKDIR /build COPY . . RUN cargo b -r FROM alpine:3.21 COPY --from=build /build/target/release/ipblekcodes /usr/bin/server ENTRYPOINT [ "/usr/bin/server" ]