Skip to content

Commit

Permalink
Merge pull request #134 from litong01/master
Browse files Browse the repository at this point in the history
Fix issue #125

Update dockerfile of building dashboard
  • Loading branch information
yeasy authored Apr 27, 2020
2 parents 23c9143 + dd7f411 commit 32a915a
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 32a915a

Please sign in to comment.