ip.blek.codes/Dockerfile

14 lines
209 B
Docker

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" ]