mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-12-22 07:06:33 +00:00
upgrade Babel & install torch without nvidia cuda
This commit is contained in:
parent
a59aaff57b
commit
4dc7372a20
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ RUN python -mvenv venv && ./venv/bin/pip install --upgrade pip
|
|||
COPY . .
|
||||
|
||||
# Install package from source code, compile translations
|
||||
RUN ./venv/bin/pip install Babel==2.11.0 && ./venv/bin/python scripts/compile_locales.py \
|
||||
RUN ./venv/bin/pip install Babel==2.12.1 && ./venv/bin/python scripts/compile_locales.py \
|
||||
&& ./venv/bin/pip install torch --extra-index-url https://download.pytorch.org/whl/cpu \
|
||||
&& ./venv/bin/pip install . \
|
||||
&& ./venv/bin/pip cache purge
|
||||
|
||||
|
|
Loading…
Reference in a new issue