fix: update Rust version and improve Dockerfile build process
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
FROM rust:1.82-bookworm AS builder
|
||||
FROM rust:1.95-bookworm AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY apps/ml-service/Cargo.toml ./Cargo.toml
|
||||
COPY apps/ml-service/Cargo.toml apps/ml-service/Cargo.lock ./
|
||||
COPY apps/ml-service/src ./src
|
||||
RUN cargo build --release
|
||||
RUN cargo build --locked --release
|
||||
|
||||
FROM debian:bookworm-slim AS runner
|
||||
|
||||
|
||||
Reference in New Issue
Block a user