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

This commit is contained in:
Brian Grant
2014-06-17 18:14:00 +00:00
parent fe0cb7c87b
commit 0a05574463
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
FROM google/nodejs
RUN npm i -g raml2html
VOLUME ["/data"]
ADD . /data
CMD ["-i", "/data/kubernetes.raml", "-o", "/data/kubernetes.html"]
ENTRYPOINT ["raml2html"]