mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-12-18 08:27:03 +02:00
Add db
This commit is contained in:
parent
10f82d9a3e
commit
5285697203
@ -138,7 +138,7 @@ Then open a web browser to http://localhost:5000
|
|||||||
### Build with Docker
|
### Build with Docker
|
||||||
|
|
||||||
```bash
|
```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.
|
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:
|
Run the built image:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it -p 5000:5000 libretranslate [args]
|
./lt.sh [args]
|
||||||
```
|
```
|
||||||
|
|
||||||
Or build and run using `docker-compose`:
|
Or build and run using `docker-compose`:
|
||||||
|
0
db/.gitignore
vendored
Normal file
0
db/.gitignore
vendored
Normal file
Loading…
Reference in New Issue
Block a user