diff --git a/build_image/dockerhub/latest/common/dashboard/Dockerfile b/build_image/dockerhub/latest/common/dashboard/Dockerfile index 4833e6d8d..02f813cc6 100644 --- a/build_image/dockerhub/latest/common/dashboard/Dockerfile +++ b/build_image/dockerhub/latest/common/dashboard/Dockerfile @@ -9,8 +9,9 @@ LABEL maintainer="github.com/hyperledger/cello" WORKDIR /usr/src/app/ USER root -COPY --from=downloader /tmp/cello-master/src/dashboard ./ -RUN yarn install && yarn run build +RUN mkdir -p /usr/src/app && cd /usr/src/app +COPY --from=downloader /tmp/cello-master/src/dashboard /usr/src/app +RUN yarn --network-timeout 600000 && yarn run build FROM nginx:1.15.12 diff --git a/src/dashboard/package.json b/src/dashboard/package.json index 2ab3746ad..27232d49e 100755 --- a/src/dashboard/package.json +++ b/src/dashboard/package.json @@ -108,7 +108,7 @@ "eslint-plugin-markdown": "^1.0.0", "eslint-plugin-react": "^7.12.4", "gh-pages": "^2.0.1", - "husky": "^2.2.0", + "husky": "^4.2.5", "jest-puppeteer": "^4.1.0", "jsdom-global": "^3.0.2", "less": "^3.9.0", @@ -128,7 +128,7 @@ "tslint": "^5.12.1", "tslint-config-prettier": "^1.17.0", "tslint-react": "^3.6.0", - "umi-plugin-ga": "^1.1.3", + "umi-plugin-ga": "^1.1.6", "faker": "^4.1.0" }, "optionalDependencies": {