Skip to content

Commit

Permalink
fixes to docker installation
Browse files Browse the repository at this point in the history
  • Loading branch information
coolfrood committed Feb 5, 2015
1 parent 9d9f58a commit 235e0c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@ WORKDIR /build
ADD package.json /build/package.json
RUN npm install
ADD . /build
CMD PATH=$PATH:node_modules/.bin cake dist
=======
CMD PATH=$PATH:node_modules/.bin cake dist
CMD ./node_modules/gulp/bin/gulp.js serve
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ To build swagger-ui using a docker container:

```
docker build -t swagger-ui-builder .
docker run -v $PWD/dist:/build/dist swagger-ui-builder
docker run -p 127.0.0.1:8080:8080 swagger-ui-builder
```

This will start Swagger UI at `http://localhost:8080`.
### Use
Once you open the Swagger UI, it will load the [Swagger Petstore](http://petstore.swagger.wordnik.com/v2/swagger.json) service and show its APIs. You can enter your own server url and click explore to view the API.

Expand Down

0 comments on commit 235e0c0

Please sign in to comment.