rust version matching my server

This commit is contained in:
Priec
2026-05-16 23:04:29 +02:00
parent 326062b3a0
commit ac8c5efa1c

View File

@@ -17,7 +17,9 @@ COPY assets/views ./assets/views
RUN mkdir -p assets/static/css && npm run build:css
# ---- Stage 2 — release binary ----------------------------------------------
FROM rust:1.87.0-slim AS builder
# Latest stable Rust, pinned to Debian bookworm so the compiled binary's glibc
# matches the bookworm-slim runtime stage below.
FROM rust:1-slim-bookworm AS builder
WORKDIR /usr/src
COPY . .
RUN cargo build --release --bin ht_booking-cli