feat: add error handling; update dockerfile

This commit is contained in:
Jef Roosens 2025-01-01 21:17:18 +01:00
parent 391e45c09d
commit 6610442bf1
No known key found for this signature in database
GPG key ID: 21FD3D77D56BAF49
3 changed files with 15 additions and 20 deletions

View file

@ -1,4 +1,4 @@
FROM rust:1.69-alpine3.16 AS builder
FROM rust:1.83-alpine3.21 AS builder
ARG DI_VER=1.2.5
@ -18,7 +18,7 @@ COPY . ./
RUN cargo build --release
FROM alpine:3.16
FROM alpine:3.21
COPY --from=builder /app/target/release/site /bin/site
COPY --from=builder /app/dumb-init /bin/dumb-init