1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-15 12:00:33 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
Savion Lee
16ae59aa43
Update cuda.Dockerfile to CUDA 12 2024-05-06 14:06:40 -05:00
Peter Dave Hello
7722984df5 Update Dockerfile base image to Python v3.11.9 2024-05-01 17:57:27 +08:00
Cyril Levis
3bfb8342a0
fix: also change entrypoint 2024-03-06 16:30:28 +01:00
Cyril Levis
b25ed7aae4
fix: make libretranslate with ipv6 2024-03-06 10:37:47 +01:00
Jean-Michel
b3d6815323 moved ltmanage to /usr/bin 2024-01-24 16:36:18 -05:00
Jean-Michel
929002b0c6 ltmanage in bin
This allows using the api key instructions from the readme as-is in the docker container.
2024-01-24 16:05:01 -05:00
euberdeveloper
57bcae918d build(docker): add arm version
Signed-off-by: euberdeveloper <euberdeveloper@gmail.com>
2023-12-24 02:24:55 +01:00
Piero Toffanin
7be612419b Pin torch to 2.0.1 2023-10-29 21:40:23 -04:00
Peter Dave Hello
842a2860af Optimize pip install in Dockerfile to minimize image size 2023-05-22 23:28:24 +08:00
Peter Dave Hello
6c5f27d7f1 Speed up Docker image build and make image smaller
Run `apt-get upgrade` right after `apt-get install`, instead of cleaning
up apt index first, do `apt-get update` again, then `apt-get upgrade`.

This will save some build time and disk space, because it didn't clean
up apt index after the `apt-get upgrade` before.
2023-05-22 22:57:38 +08:00
Sébastien T
6a9c34d408
prevent install all models 2023-04-03 10:39:52 +02:00
Sébastien T
24fb27dfe4
upgrade babel 2023-04-03 10:39:00 +02:00
Sébastien T
4dc7372a20 upgrade Babel & install torch without nvidia cuda 2023-04-02 18:58:43 +02:00
Sébastien T
a59aaff57b upgrade image 2023-04-02 18:58:11 +02:00
Piero Toffanin
256e63f535 Do not hide docker folder 2023-01-13 10:24:56 -05:00
dingedi
5ea18f88db
move dockerfile in a .docker 2023-01-12 14:23:13 +01:00
Piero Toffanin
fa8516516c Install babel before running compile_locales.py 2023-01-06 14:09:43 -05:00
Piero Toffanin
4c17cd7572 Compile locales before installing package 2023-01-06 14:06:16 -05:00
Piero Toffanin
7e2b7fbabf Update build files 2023-01-06 11:58:32 -05:00
Micha Gorelick
c17832a37c Optimize dockerfile.cuda for dev builds
install large packages before copying repo over to container so that we
can use build caches more efficiently.
2023-01-03 11:03:06 +00:00
JonWiggins
b6219cb605 Upgrade waitress to patch CVE-2022-31015
Remove pip to close IN1-PYTHON-PIP-1278135
apt-get upgrade to close CVE-2022-1664, CVE-2022-1304, and CVE-2022-2068
2022-07-25 16:47:19 -05:00
jonwiggins
482a1c65c6 Add cuda pytorch install
Add info on adding cuda to the container path if needed
2022-07-03 11:35:29 -05:00
Jon Wiggins
89dde2d468 Add CUDA docker version 2022-06-20 16:23:32 -06:00