From d4a6a793afb4a8f3225b5732dc08e0128cee845e Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Mon, 3 Feb 2025 23:29:06 -0700 Subject: [PATCH] Update Dockerfile.cpu --- Dockerfile.cpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.cpu b/Dockerfile.cpu index 7e215d7..da35f0b 100644 --- a/Dockerfile.cpu +++ b/Dockerfile.cpu @@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Copy and install dependencies COPY requirements.txt . -RUN pip install --no-cache-dir --prefix=/install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu +RUN pip install --no-cache-dir --prefix=/install -r torch torchaudio --extra-index-url https://download.pytorch.org/whl/cpu && pip install --no-cache-dir --prefix=/install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu # === Stage 2: Create a minimal runtime image === FROM python:3.11-slim-bullseye AS runtime