mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-25 01:11:00 +00:00
cuda dockerfile does not have a "venv/" folder
This commit is contained in:
parent
0c7d957d4e
commit
2e5af544c4
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue