Add docker run instructions

This commit is contained in:
Piero Toffanin 2020-12-29 10:55:53 -05:00 committed by GitHub
parent 84a6a9466c
commit 86c69ecb6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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