From 024781d0f90943b5c39b1ebbc746ab64191ab031 Mon Sep 17 00:00:00 2001 From: Travis Vasceannie Date: Sun, 18 Jan 2026 01:45:04 -0500 Subject: [PATCH] chore: upgrade Rust version and migrate pip commands to uv in Dockerfiles - Upgraded Rust base image from 1.75 to 1.81 in client.Dockerfile - Replaced python -m pip with uv pip for NER dependency installation in server.Dockerfile - Updated spaCy model download and verification commands to use uv run python --- docker/client.Dockerfile | 2 +- docker/server.Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/client.Dockerfile b/docker/client.Dockerfile index d4e137b..1059519 100644 --- a/docker/client.Dockerfile +++ b/docker/client.Dockerfile @@ -2,7 +2,7 @@ # Tauri Client Build Container # Used for CI builds and development - desktop app typically runs natively -FROM rust:1.75-bookworm AS rust-base +FROM rust:1.81-bookworm AS rust-base # Install Node.js 20.x RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ diff --git a/docker/server.Dockerfile b/docker/server.Dockerfile index 2a49de6..e80456b 100644 --- a/docker/server.Dockerfile +++ b/docker/server.Dockerfile @@ -77,11 +77,11 @@ CMD ["sh", "-c", "uv sync --frozen --group dev --all-extras && uv run python scr FROM base AS with-ner # Install NER dependencies and download spaCy model -RUN python -m pip install -e ".[ner]" \ - && python -m spacy download en_core_web_sm +RUN uv pip install -e ".[ner]" \ + && uv run python -m spacy download en_core_web_sm # Verify model is available -RUN python -c "import spacy; nlp = spacy.load('en_core_web_sm'); print('NER model loaded successfully')" +RUN uv run python -c "import spacy; nlp = spacy.load('en_core_web_sm'); print('NER model loaded successfully')" # ----------------------------------------------------------------------------- # Development target (default)