You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN cd /tmp && git clone https://github.com/hyperledger/cello.git
8
+
RUN cp -r /tmp/cello/user-dashboard/js /app
9
+
RUN mkdir -p /usr/app
10
+
RUN cp -r /tmp/cello/user-dashboard /usr/app/src
11
+
RUN cd /app && npm install --loglevel http && npm run build
12
+
13
+
FROM node:9.2 as build_home
14
+
MAINTAINER haitao yue "hightall@me.com"
15
+
RUN cd /tmp && git clone https://github.com/hyperledger/cello.git
16
+
RUN cp -r /tmp/cello/user-dashboard/js /app
17
+
RUN mkdir -p /usr/app
18
+
RUN cp -r /tmp/cello/user-dashboard /usr/app/src
19
+
RUN cd /app/home && npm install --loglevel http && npm run build
20
+
21
+
FROM node:9.2 as build_dashboard
22
+
MAINTAINER haitao yue "hightall@me.com"
23
+
RUN cd /tmp && git clone https://github.com/hyperledger/cello.git
24
+
RUN cp -r /tmp/cello/user-dashboard/js /app
25
+
RUN mkdir -p /usr/app
26
+
RUN cp -r /tmp/cello/user-dashboard /usr/app/src
27
+
RUN cd /app/dashboard && npm install --loglevel http && npm run build
28
+
29
+
FROM node:9.2
30
+
MAINTAINER haitao yue "hightall@me.com"
31
+
RUN npm install -g requirejs
32
+
RUN cd /tmp && git clone https://github.com/hyperledger/cello.git
33
+
COPY package.json /
34
+
RUN cd / && yarn install -g --verbose
35
+
ENV PATH ${PATH}:/node_modules/.bin
36
+
RUN mkdir -p /usr/app
37
+
RUN cp -r /tmp/cello/user-dashboard /usr/app/src
38
+
WORKDIR /usr/app/src
39
+
ENV FABRIC_VERSION 1.0.5
40
+
RUN cd /tmp && wget -c https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/linux-amd64-${FABRIC_VERSION}/hyperledger-fabric-linux-amd64-${FABRIC_VERSION}.tar.gz \
41
+
&& tar -zxvf hyperledger-fabric-linux-amd64-${FABRIC_VERSION}.tar.gz && mv bin/configtxgen /usr/local/bin/configtxgen
42
+
RUN mkdir -p /etc/hyperledger
43
+
RUN cp -r /tmp/cello/user-dashboard/fabric/fabric /etc/hyperledger/fabric
0 commit comments