1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
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