This commit is contained in:
Bkk1234 committed 2026-10-23 17:52:56 +07:00
commit 9519fef02d
174 files changed
+5964 -27

No files matched your search

+5 -2
View File
@@ -1,7 +1,10 @@
# syntax=docker/dockerfile:1.7
FROM rust:1.88-bookworm AS builder
# rustc 1.89+ required: latest transitive deps (e.g. uuid 1.28) set MSRV 1.89.
# No Cargo.lock is committed, so the resolver picks the newest crates on every
# build — keep this tag >= the current MSRV of the dependency tree.
FROM rust:1.90-bookworm AS builder
WORKDIR /build
ENV CARGO_BUILD_JOBS=2
ENV CARGO_BUILD_JOBS=1
COPY Cargo.toml Cargo.lock* ./
RUN mkdir src && echo "fn main() {}" > src/main.rs && cargo build --release && rm -rf src
COPY . .