wicked-waifus-rs/Dockerfile-builder

7 lines
220 B
Text
Raw Normal View History

2024-11-02 23:21:51 +00:00
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