mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-04-20 13:59:18 +00:00
Merge pull request #785 from jpralves/main
Some checks are pending
Build and Publish Docker Image / main (push) Waiting to run
Some checks are pending
Build and Publish Docker Image / main (push) Waiting to run
Update Dockerfile #737
This commit is contained in:
commit
932fe54984
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ COPY . .
|
||||||
|
|
||||||
# Install package from source code, compile translations
|
# Install package from source code, compile translations
|
||||||
RUN ./venv/bin/pip install Babel==2.12.1 && ./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==2.0.1 --extra-index-url https://download.pytorch.org/whl/cpu \
|
&& ./venv/bin/pip install torch==2.2.0 --extra-index-url https://download.pytorch.org/whl/cpu \
|
||||||
&& ./venv/bin/pip install "numpy<2" \
|
&& ./venv/bin/pip install "numpy<2" \
|
||||||
&& ./venv/bin/pip install . \
|
&& ./venv/bin/pip install . \
|
||||||
&& ./venv/bin/pip cache purge
|
&& ./venv/bin/pip cache purge
|
||||||
|
|
Loading…
Add table
Reference in a new issue