diff --git a/.gitignore b/.gitignore index 0b745e2..9b2aa00 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /target -.env \ No newline at end of file +.env +*.json \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index d8eae09..103b387 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ENV RUSTFLAGS="-C target-feature=-crt-static" RUN apk add --no-cache musl-dev openssl-dev WORKDIR /app -COPY ./ /app +COPY Cargo.toml Cargo.lock src/ /app/ RUN cargo build --release RUN strip target/release/mk-dl-bot