Skip to content

Commit

Permalink
fix(build): fix dashboard image build failed because of network
Browse files Browse the repository at this point in the history
use npm instead of yarn to install package

fix hyperledger#135

Signed-off-by: Haitao Yue <haitao.yue@easy-visible.com>
  • Loading branch information
hightall committed Apr 28, 2020
1 parent 856a5af commit ba926ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_image/dockerhub/latest/common/dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ 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 npm i && npm run build

FROM nginx:1.15.12

Expand Down

0 comments on commit ba926ed

Please sign in to comment.