diff --git a/Dockerfile b/Dockerfile index 8942d84..7682e11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM rust:1.74-alpine3.18 as builder +FROM rust:1.78-alpine3.20 as builder RUN apk add --no-cache musl-dev openssl-dev libc6-compat openssl-libs-static WORKDIR /usr/src/app COPY . . RUN cargo install --path . -FROM alpine:3.18 +FROM alpine:3.20 RUN apk update --no-cache RUN adduser -D botuser USER botuser