From 9003cefbc44225ef17c9f397f30ffeb441162aa5 Mon Sep 17 00:00:00 2001 From: hole-thu Date: Tue, 24 Mar 2026 04:11:33 +0800 Subject: [PATCH] update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d53a570..1598262 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1-bullseye as builder +FROM rust:1-bookworm as builder WORKDIR /usr/src/ RUN cargo new myapp --vcs none WORKDIR /usr/src/myapp @@ -12,7 +12,7 @@ COPY migrations ./migrations RUN touch src/main.rs && cargo build --release -FROM debian:bullseye-slim +FROM debian:bookworm-slim RUN apt-get update && apt-get install libpq5 -y COPY --from=builder /usr/src/myapp/target/release/hole-thu /usr/local/bin/hole-thu COPY Rocket.toml /usr/local/bin/