chore(webui): update docker node version

This commit is contained in:
Antoine CARON 2019-02-01 00:04:04 +01:00 committed by Traefiker Bot
parent 9ebe3c38b2
commit 30087794ba

View file

@ -1,15 +1,8 @@
FROM node:6.9.1 FROM node:8.15.0
ENV WEBUI_DIR /src/webui ENV WEBUI_DIR /src/webui
RUN mkdir -p $WEBUI_DIR RUN mkdir -p $WEBUI_DIR
RUN apt-get -yq update \
&& apt-get -yq --no-install-suggests --no-install-recommends --force-yes install apt-transport-https \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get -yq update && apt-get -yq --no-install-suggests --no-install-recommends --force-yes install yarn \
&& rm -fr /var/lib/apt/lists/
COPY package.json $WEBUI_DIR/ COPY package.json $WEBUI_DIR/
COPY yarn.lock $WEBUI_DIR/ COPY yarn.lock $WEBUI_DIR/