Files
weave-scope/client/Dockerfile
2015-05-22 13:20:00 +02:00

20 lines
396 B
Docker

FROM mhart/alpine-node
WORKDIR /home/weave
# build tool
RUN npm install -g gulp
# install app and build dependencies
ADD package.json /home/weave/
RUN npm install
ADD gulpfile.js /home/weave/
# run container via
#
# `docker run -v $GOPATH/src/github.com/weaveworks/scope/client:/app weaveworks/scope-build`
#
# after the container is run, bundled app should be in ./dist/ dir
CMD gulp build