rust version matching my server
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user