wicked-waifus-rs/Dockerfile-builder

7 lines
220 B
Text
Raw Permalink Normal View History

FROM rust:1.81-alpine3.20
WORKDIR /app
COPY . .
# No need to manually strip symbols(strip target/release/$MICROSERVICE) since workspace its already prepared for that
RUN apk add musl-dev protoc && cargo build --release