mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-25 17:31:00 +00:00
Update cuda.Dockerfile
Added numpy<2 package
This commit is contained in:
parent
b7e424c5f1
commit
e6e851821b
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ RUN if [ "$with_models" = "true" ]; then \
|
||||||
|
|
||||||
# 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 . \
|
&& pip3 install . \
|
||||||
&& pip3 cache purge
|
&& pip3 cache purge
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue