mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-22 07:51:00 +00:00
Add docker run instructions
This commit is contained in:
parent
84a6a9466c
commit
86c69ecb6b
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -53,6 +53,16 @@ Then open a web browser to http://localhost:5000
|
||||||
|
|
||||||
### Run with Docker
|
### Run with Docker
|
||||||
|
|
||||||
|
Simply run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run -ti --rm -p 5000:5000 libretranslate/libretranslate
|
||||||
|
```
|
||||||
|
|
||||||
|
Then open a web browser to http://localhost:5000
|
||||||
|
|
||||||
|
### Build with Docker
|
||||||
|
|
||||||
Make sure you cloned the `models` submodule before building the Docker image:
|
Make sure you cloned the `models` submodule before building the Docker image:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in a new issue