add comments to dockerfile

This commit is contained in:
mykola2312 2024-02-18 18:16:50 +02:00
parent 66ed80a72e
commit d88286cf6c

View file

@ -1,3 +1,4 @@
# Rust build
FROM rust:1-alpine3.19
ENV RUSTFLAGS="-C target-feature=-crt-static"
@ -9,7 +10,7 @@ COPY ./ /app
RUN cargo build --release
RUN strip target/release/mk-dl-bot
# Rust
FROM alpine:3.19
RUN apk add --no-cache libgcc