2016-07-20 13:26:48 +00:00
|
|
|
FROM node:6.3.0
|
2016-01-20 21:45:51 +00:00
|
|
|
|
|
|
|
ENV WEBUI_DIR /src/webui
|
|
|
|
RUN mkdir -p $WEBUI_DIR
|
|
|
|
|
|
|
|
RUN npm install -g gulp bower
|
|
|
|
|
|
|
|
COPY package.json $WEBUI_DIR/
|
|
|
|
COPY .bowerrc $WEBUI_DIR/
|
|
|
|
COPY bower.json $WEBUI_DIR/
|
|
|
|
|
|
|
|
WORKDIR $WEBUI_DIR
|
2016-01-25 21:23:56 +00:00
|
|
|
RUN npm set progress=false
|
2016-02-13 15:14:26 +00:00
|
|
|
RUN npm install --quiet
|
|
|
|
RUN bower install --allow-root --quiet
|
2016-01-20 21:45:51 +00:00
|
|
|
|
|
|
|
COPY . $WEBUI_DIR/
|
|
|
|
|
|
|
|
EXPOSE 3000 3001 8080
|