diff --git a/Dockerfile b/Dockerfile index 768935b..f6effbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,8 @@ RUN cargo build --release # Stage 2: Final minimal execution layer FROM debian:bookworm-slim RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* +RUN curl https://sh.rustup.rs -sSf | bash -s -- -y +ENV PATH="/root/.cargo/bin:${PATH}" WORKDIR /app COPY --from=builder /app/target/release/huffman-compression-rs /app/huffman-compression-rust ENTRYPOINT ["/app/huffman-compression-rust"]