mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-12-18 08:27:03 +02:00
Add docker run instructions
This commit is contained in:
parent
84a6a9466c
commit
86c69ecb6b
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 New Issue
Block a user