Merge pull request #648 from justinmdriggers/cuda_dockerfile_fix

cuda dockerfile does not have a "venv/" folder
This commit is contained in:
Piero Toffanin 2024-07-23 16:12:56 -04:00 committed by GitHub
commit 323778788d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,9 +32,10 @@ RUN if [ "$with_models" = "true" ]; then \
fi \ fi \
fi fi
RUN python -mvenv venv && ./venv/bin/pip install --no-cache-dir --upgrade pip
# Install package from source code # Install package from source code
RUN pip3 install Babel==2.12.1 && python3 scripts/compile_locales.py \ 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 install . \
&& pip3 cache purge && pip3 cache purge