Skip to content

Commit

Permalink
Fix issue #125
Browse files Browse the repository at this point in the history
Signed-off-by: Tong Li <litong01@us.ibm.com>
  • Loading branch information
Tong Li committed Apr 27, 2020
1 parent 23c9143 commit dd7f411
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions build_image/dockerhub/latest/common/dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ LABEL maintainer="github.com/hyperledger/cello"

WORKDIR /usr/src/app/
USER root
COPY --from=downloader /tmp/cello-master/src/dashboard/package.json ./
RUN yarn
COPY --from=downloader /tmp/cello-master/src/dashboard ./
RUN npm run build
RUN yarn install && yarn run build

FROM nginx:1.15.12

Expand Down
6 changes: 3 additions & 3 deletions src/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
"react-fittext": "^1.0.0",
"react-media": "^1.9.2",
"resize-observer-polyfill": "^1.5.1",
"umi": "^2.4.4",
"umi-plugin-react": "^1.7.2",
"umi-request": "^1.0.5",
"umi": "^2.13.13",
"umi-plugin-react": "^1.15.8",
"umi-request": "^1.2.19",
"cello-paginator": "^1.0.1",
"validator": "^11.0.0"
},
Expand Down

0 comments on commit dd7f411

Please sign in to comment.