Files
weave-scope/client/Dockerfile
David Kaltschmidt 4ca869d891 Automated UI building
- Add Dockerfile for js build image
- Wire up dockerized-ui build to the makefile.
- Removed unused dev tools from package.json/gulp
2015-05-20 10:45:35 +00: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