Skip to content

Commit

Permalink
Included Docker build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelschwier committed Sep 6, 2018
1 parent af77322 commit 193099a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,38 @@ For deployment of a model the framework is part of the runtime docker. However,
python start.py MODEL_NAME -mf PATH_TO_FRAMEWORK
```

### Docker Build Instructions

#### How to build the Docker images

Execute the docker build command **from the modelhub-engine directory**,
with the following command:

```
docker build -t <name+tag> -f docker/<docker-file-name> .
```

#### How to push an image to DockerHub

Make sure the Docker name starts with "modelhub/" and the tag should also be
a unique version number (e.g. "modelhub/release:1.2.3").

Then login to docker with your credentials:
```
docker login
```

Upload the docker you created:
```
docker push <name+tag>
```

Logout:
```
docker logout
```


### Python Package Instructions

To build a new version:
Expand Down

0 comments on commit 193099a

Please sign in to comment.