2019-01-31 23:04:04 +00:00
|
|
|
FROM node:8.15.0
|
2016-01-20 21:45:51 +00:00
|
|
|
|
|
|
|
ENV WEBUI_DIR /src/webui
|
|
|
|
RUN mkdir -p $WEBUI_DIR
|
|
|
|
|
|
|
|
COPY package.json $WEBUI_DIR/
|
2016-11-16 02:25:06 +00:00
|
|
|
COPY yarn.lock $WEBUI_DIR/
|
2016-01-20 21:45:51 +00:00
|
|
|
|
|
|
|
WORKDIR $WEBUI_DIR
|
2016-11-16 02:25:06 +00:00
|
|
|
RUN yarn install
|
2016-01-20 21:45:51 +00:00
|
|
|
|
|
|
|
COPY . $WEBUI_DIR/
|
|
|
|
|
2018-04-27 11:12:04 +00:00
|
|
|
EXPOSE 8080
|
2019-02-05 15:50:05 +00:00
|
|
|
|
|
|
|
RUN yarn lint
|