diff --git a/exp.Dockerfile b/exp.Dockerfile index b12c512b8..d13f64a7a 100644 --- a/exp.Dockerfile +++ b/exp.Dockerfile @@ -1,5 +1,5 @@ # WEBUI -FROM node:8.15.0 as webui +FROM node:12.11 as webui ENV WEBUI_DIR /src/webui RUN mkdir -p $WEBUI_DIR @@ -7,7 +7,7 @@ RUN mkdir -p $WEBUI_DIR COPY ./webui/ $WEBUI_DIR/ WORKDIR $WEBUI_DIR -RUN yarn install +RUN npm install RUN npm run build diff --git a/webui/Dockerfile b/webui/Dockerfile index 091cb1909..67e491e5d 100644 --- a/webui/Dockerfile +++ b/webui/Dockerfile @@ -1,4 +1,4 @@ -FROM node:8.15.0 +FROM node:12.11 ENV WEBUI_DIR /src/webui RUN mkdir -p $WEBUI_DIR diff --git a/webui/readme.md b/webui/readme.md index f7e6ad98f..ca205bcef 100644 --- a/webui/readme.md +++ b/webui/readme.md @@ -20,7 +20,7 @@ make generate-webui # Generate static contents in `traefik/static/` folder. ## 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`