Files
weave-scope/client/Dockerfile
Tom Wilkie efeba4a2ed Use rebuild-image script from tools.git
- Add some extra files to build image
- Add make to UI build container
2015-08-17 16:26:06 +00:00

20 lines
485 B
Docker

FROM debian:latest
WORKDIR /home/weave
RUN apt-get update && apt-get install -y curl bzip2 libfreetype6 libfontconfig1 make
# Install nodejs
RUN curl -sL https://deb.nodesource.com/setup | bash -
RUN apt-get install -y nodejs
# build tool
RUN npm install -g gulp
# install app and build dependencies
ADD package.json /home/weave/
RUN npm install
ADD gulpfile.js webpack.config.js .eslintrc /home/weave/
# For instructions on running this container, consult the toplevel Makefile