Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fertkir committed Jun 4, 2024
1 parent 9795915 commit 40bd525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 40bd525

Please sign in to comment.