mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-23 08:21:02 +00:00
Add db
This commit is contained in:
parent
10f82d9a3e
commit
5285697203
2 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ Then open a web browser to http://localhost:5000
|
|||
### Build with Docker
|
||||
|
||||
```bash
|
||||
docker build [--build-arg with_models=true] -t libretranslate .
|
||||
docker build [--build-arg with_models=true] -t libretranslate/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 are downloaded during the build process of the image. Otherwise these models get downloaded on the first run of the image/container.
|
||||
|
@ -146,7 +146,7 @@ If you want to run the Docker image in a complete offline environment, you need
|
|||
Run the built image:
|
||||
|
||||
```bash
|
||||
docker run -it -p 5000:5000 libretranslate [args]
|
||||
./lt.sh [args]
|
||||
```
|
||||
|
||||
Or build and run using `docker-compose`:
|
||||
|
|
0
db/.gitignore
vendored
Normal file
0
db/.gitignore
vendored
Normal file
Loading…
Reference in a new issue