From 2e5af544c4a5f22cacb6b25058ca6dd5716cadb1 Mon Sep 17 00:00:00 2001 From: justin_driggers Date: Tue, 23 Jul 2024 14:17:21 -0400 Subject: [PATCH] cuda dockerfile does not have a "venv/" folder --- docker/cuda.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/cuda.Dockerfile b/docker/cuda.Dockerfile index db490e5..5be8327 100644 --- a/docker/cuda.Dockerfile +++ b/docker/cuda.Dockerfile @@ -32,9 +32,10 @@ RUN if [ "$with_models" = "true" ]; then \ fi \ fi +RUN python -mvenv venv && ./venv/bin/pip install --no-cache-dir --upgrade pip # Install package from source code RUN pip3 install Babel==2.12.1 && python3 scripts/compile_locales.py \ - && ./venv/bin/pip install "numpy<2" \ + && pip3 install "numpy<2" \ && pip3 install . \ && pip3 cache purge