-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from citahub/develop
Merge develop into master
- Loading branch information
Showing
9 changed files
with
232 additions
and
116 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
language: node_js | ||
sudo: true | ||
node_js: | ||
- '10.16' | ||
#before_install: | ||
# - yarn audit | ||
install: | ||
- yarn | ||
script: | ||
- yarn run build | ||
- docker build -t microscope . | ||
- docker run --name microscope -d -p 8080:80 microscope | ||
- curl 127.0.0.1:8080 |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM node:10 as node | ||
|
||
WORKDIR /app | ||
|
||
COPY package*.json ./ | ||
COPY yarn.lock .. | ||
|
||
RUN yarn | ||
COPY . . | ||
|
||
RUN npm run build | ||
|
||
FROM nginx | ||
EXPOSE 80 | ||
|
||
COPY --from=node /app/build /usr/share/nginx/html |
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
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
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
"keywords": [], | ||
"author": "[email protected]", | ||
"dependencies": { | ||
"@cryptape/cita-sdk": "^0.24.0", | ||
"@citahub/cita-sdk": "^1.0.1", | ||
"@types/echarts": "^4.1.9", | ||
"@types/history": "^4.7.2", | ||
"@types/react": "^16.7.18", | ||
|
@@ -48,7 +48,7 @@ | |
"babel-preset-react": "6.24.1", | ||
"babel-register": "^6.26.0", | ||
"bootstrap": "^4.1.3", | ||
"copy-webpack-plugin": "^5.0.3", | ||
"copy-webpack-plugin": "^5.1.1", | ||
"css-loader": "^3.0.0", | ||
"echarts": "^4.1.0", | ||
"echarts-for-react": "^2.0.15-beta.0", | ||
|
@@ -85,7 +85,7 @@ | |
"ts-loader": "^6.0.4", | ||
"typescript": "^3.2.2", | ||
"web3-eth-abi": "^1.0.0-beta.55", | ||
"webpack": "^4.0.0", | ||
"webpack": "^4.41.2", | ||
"webpack-cli": "^3.1.2", | ||
"webpack-merge": "^4.1.4" | ||
}, | ||
|
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
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
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.