Skip to content

Commit bdad42d

Browse files
authored
Update README with more visible Docker memory requirements
1 parent b07259b commit bdad42d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,18 @@ predictor APIs.
5656

5757
### With Docker
5858

59-
First build the project with:
59+
Make sure that your Docker runtime memory option is set to at least 8GB.
60+
* Mac: https://docs.docker.com/docker-for-mac/#memory
61+
* Windows: https://docs.docker.com/docker-for-windows/#advanced
62+
63+
Build the project with:
6064
```
6165
mvn clean install
6266
```
6367
Build the docker image with:
6468
```
6569
docker build .
6670
```
67-
The only thing you might need is to increase your Docker runtime memory option to at least 8GB.
68-
6971
Run a docker container exposing the API on port 8080:
7072
```
7173
docker run -t -p 8080:8080 [your_image_id]

0 commit comments

Comments
 (0)