fix: update Rust and Debian base images in Dockerfile
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
FROM rust:1.95-bookworm AS builder
|
FROM rust:1.95-trixie AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY apps/ml-service/Cargo.toml apps/ml-service/Cargo.lock ./
|
COPY apps/ml-service/Cargo.toml apps/ml-service/Cargo.lock ./
|
||||||
COPY apps/ml-service/src ./src
|
COPY apps/ml-service/src ./src
|
||||||
RUN cargo build --locked --release
|
RUN cargo build --locked --release
|
||||||
|
|
||||||
FROM debian:bookworm-slim AS runner
|
FROM debian:trixie-slim AS runner
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV MODEL_PATH=/app/model/model.onnx
|
ENV MODEL_PATH=/app/model/model.onnx
|
||||||
|
|||||||
Reference in New Issue
Block a user