mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-22 07:51:00 +00:00
updated README
This commit is contained in:
parent
76f069d472
commit
579cd76289
1 changed files with 3 additions and 1 deletions
|
@ -80,9 +80,11 @@ Then open a web browser to http://localhost:5000
|
|||
### Build with Docker
|
||||
|
||||
```bash
|
||||
docker build -t libretranslate .
|
||||
docker build [--build-arg with_models=true] -t libretranslate .
|
||||
```
|
||||
|
||||
If you want to run the Docker image in a complete offline environment, you need to add the `--build-arg with_models=true` parameter. Then the language models get downloaded during the build process of the image. Otherwise these models get downloaded on the first run of the image/container.
|
||||
|
||||
Run the built image:
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue