-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CE-357] Fix user dashboard fabric client not work
Add yarn.lock file to install special version packages. Remove package.json for user dashboard in dockerhub. Change-Id: I34bd007a6fe84702cc552c6bb3f7cb66f52d0d11 Signed-off-by: Haitao Yue <[email protected]>
- Loading branch information
Showing
5 changed files
with
5,416 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ MAINTAINER haitao yue "[email protected]" | |
RUN npm install -g requirejs | ||
COPY . /tmp/cello | ||
COPY user-dashboard/package.json / | ||
COPY user-dashboard/yarn.lock / | ||
RUN cd / && yarn install -g --verbose | ||
ENV PATH ${PATH}:/node_modules/.bin | ||
RUN mkdir -p /usr/app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,8 +30,7 @@ FROM node:8.9 | |
MAINTAINER haitao yue "[email protected]" | ||
RUN npm install -g requirejs | ||
RUN cd /tmp && git clone https://github.com/hyperledger/cello.git | ||
COPY package.json / | ||
RUN cd / && yarn install -g --verbose | ||
RUN cp /tmp/cello/user-dashboard && cp package.json yarn.lock / && cd / && yarn install -g --verbose | ||
ENV PATH ${PATH}:/node_modules/.bin | ||
RUN mkdir -p /usr/app | ||
RUN cp -r /tmp/cello/user-dashboard /usr/app/src | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.