fix: use rust:latest-slim as runtime (glibc match)
This commit is contained in:
parent
12b7b2dccb
commit
ccbbcd4274
1 changed files with 2 additions and 1 deletions
|
|
@ -35,11 +35,12 @@ RUN cargo build --release
|
|||
# ============================================================================
|
||||
# Stage 3: Runtime — slim image with binary + static files
|
||||
# ============================================================================
|
||||
FROM debian:bookworm-slim
|
||||
FROM rust:latest-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
curl \
|
||||
libssl3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue