1
0
mirror of https://github.com/CCC-MF/bwhc-kafka-rest-proxy.git synced 2025-07-01 16:02:54 +00:00

build: run tests before release build in Dockerfile

This commit is contained in:
2024-03-09 11:37:43 +01:00
parent 976c86d043
commit 85ba709709

View File

@ -6,6 +6,8 @@ RUN apk add cmake make musl-dev g++
WORKDIR /build
COPY Cargo.toml ./
COPY src ./src
# Run tests before release build
RUN cargo test --release
RUN cargo build --release
# Build image from scratch