wicked-waifus-rs/Dockerfile-builder
2024-11-03 00:21:51 +01:00

6 lines
220 B
Text

FROM rust:1.82-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