Skip to content

Commit

Permalink
README.md: Fix public image name
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-cliqz authored and juanjoDiaz committed Nov 14, 2018
1 parent ec26ea6 commit 1781e8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ Defaults to `grpcwebtext`.
The image is available at [Docker Hub](https://hub.docker.com/r/juanjodiaz/grpc-web-generator/)

```sh
docker pull juanjodiaz/grpc-web-builder
docker pull juanjodiaz/grpc-web-generator
```

### Build from source

```bash
docker build <path_to_this_repository> -t juanjodiaz/grpc-web-builder
docker build <path_to_this_repository> -t juanjodiaz/grpc-web-generator
```

## Generating the files
Expand All @@ -87,7 +87,7 @@ docker build <path_to_this_repository> -t juanjodiaz/grpc-web-builder
docker run \
-v "<MY_INCLUDES_FOLDER>:/protofile" \
-e "protofile=<MY_PROTO_FILE>.proto" \
juanjodiaz/grpc-web-builder
juanjodiaz/grpc-web-generator
```

## Integrating it in your npm build
Expand All @@ -100,7 +100,7 @@ You can add a script to your NPM file like:
...

"scripts": {
"grpc.generate": "docker run -v \"<MY_INCLUDES_FOLDER>:/protofile\" -e \"protofile=<MY_PROTO_FILE>.proto\" juanjodiaz/grpc-web-builder"
"grpc.generate": "docker run -v \"<MY_INCLUDES_FOLDER>:/protofile\" -e \"protofile=<MY_PROTO_FILE>.proto\" juanjodiaz/grpc-web-generator"
},

...
Expand Down

0 comments on commit 1781e8e

Please sign in to comment.