Replace npm with yarn to install/run the webui
This commit is contained in:
parent
25725e9b2f
commit
c7b24f4e9c
7 changed files with 9582 additions and 16663 deletions
|
@ -7,13 +7,13 @@ ENV PLATFORM_URL=${ARG_PLATFORM_URL}
|
|||
RUN mkdir -p $WEBUI_DIR
|
||||
|
||||
COPY package.json $WEBUI_DIR/
|
||||
COPY package-lock.json $WEBUI_DIR/
|
||||
COPY yarn.lock $WEBUI_DIR/
|
||||
|
||||
WORKDIR $WEBUI_DIR
|
||||
RUN npm install
|
||||
RUN yarn install
|
||||
|
||||
COPY . $WEBUI_DIR/
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
RUN npm run lint
|
||||
RUN yarn lint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue