Commit 0a055744 authored by Brian Grant's avatar Brian Grant

Use ADD rather than VOLUME in order to work with remote containers.

parent fe0cb7c8
......@@ -179,7 +179,8 @@ git rebase upstream/master
### Regenerating the documentation
```
cd kubernetes/api
sudo docker build -t kubernetes/raml2html - < raml2html.dockerfile
sudo docker run -v `pwd`:/data kubernetes/raml2html
sudo docker build -t kubernetes/raml2html .
sudo docker run --name="docgen" kubernetes/raml2html
sudo docker cp docgen:/data/kubernetes.html .
```
FROM google/nodejs
RUN npm i -g raml2html
VOLUME ["/data"]
ADD . /data
CMD ["-i", "/data/kubernetes.raml", "-o", "/data/kubernetes.html"]
ENTRYPOINT ["raml2html"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment