1
0
Fork 0

Replace npm with yarn to install/run the webui

This commit is contained in:
Tom Moulard 2022-03-03 18:08:07 +01:00 committed by GitHub
parent 25725e9b2f
commit c7b24f4e9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 9582 additions and 16663 deletions

View file

@ -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