chore(node/webui): update node to 12.11 version

This commit is contained in:
Antoine Caron 2019-10-14 17:18:04 +02:00 committed by Traefiker Bot
parent cb3328dca3
commit 0048156379
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
# WEBUI # WEBUI
FROM node:8.15.0 as webui FROM node:12.11 as webui
ENV WEBUI_DIR /src/webui ENV WEBUI_DIR /src/webui
RUN mkdir -p $WEBUI_DIR RUN mkdir -p $WEBUI_DIR
@ -7,7 +7,7 @@ RUN mkdir -p $WEBUI_DIR
COPY ./webui/ $WEBUI_DIR/ COPY ./webui/ $WEBUI_DIR/
WORKDIR $WEBUI_DIR WORKDIR $WEBUI_DIR
RUN yarn install RUN npm install
RUN npm run build RUN npm run build

View file

@ -1,4 +1,4 @@
FROM node:8.15.0 FROM node:12.11
ENV WEBUI_DIR /src/webui ENV WEBUI_DIR /src/webui
RUN mkdir -p $WEBUI_DIR RUN mkdir -p $WEBUI_DIR

View file

@ -20,7 +20,7 @@ make generate-webui # Generate static contents in `traefik/static/` folder.
## How to build (only for frontend developer) ## How to build (only for frontend developer)
- prerequisite: [Node 6+](https://nodejs.org) [Npm](https://www.npmjs.com/) - prerequisite: [Node 12.11+](https://nodejs.org) [Npm](https://www.npmjs.com/)
- Go to the directory `webui` - Go to the directory `webui`