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