Skip to content

Commit

Permalink
Update README with more visible Docker memory requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinGleize authored Jun 30, 2020
1 parent b07259b commit bdad42d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,18 @@ predictor APIs.

### With Docker

First build the project with:
Make sure that your Docker runtime memory option is set to at least 8GB.
* Mac: https://docs.docker.com/docker-for-mac/#memory
* Windows: https://docs.docker.com/docker-for-windows/#advanced

Build the project with:
```
mvn clean install
```
Build the docker image with:
```
docker build .
```
The only thing you might need is to increase your Docker runtime memory option to at least 8GB.

Run a docker container exposing the API on port 8080:
```
docker run -t -p 8080:8080 [your_image_id]
Expand Down

0 comments on commit bdad42d

Please sign in to comment.