chore(node/webui): update node to 12.11 version
This commit is contained in:
parent
cb3328dca3
commit
0048156379
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:8.15.0
|
||||
FROM node:12.11
|
||||
|
||||
ENV WEBUI_DIR /src/webui
|
||||
RUN mkdir -p $WEBUI_DIR
|
||||
|
|
|
@ -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`
|
||||
|
||||
|
|
Loading…
Reference in a new issue