update: kitabu POA
This commit is contained in:
parent
0a4a93cd74
commit
7d1b1bf365
@ -1 +1 @@
|
|||||||
**/.git
|
node_modules
|
@ -1,9 +0,0 @@
|
|||||||
language: node_js
|
|
||||||
sudo: required
|
|
||||||
dist: trusty
|
|
||||||
node_js: '8'
|
|
||||||
before_install: npm install -g grunt-cli
|
|
||||||
install:
|
|
||||||
- npm install
|
|
||||||
- npm run dist -- pow
|
|
||||||
- npm run dist -- poa
|
|
16
Dockerfile
16
Dockerfile
@ -1,10 +1,12 @@
|
|||||||
FROM node
|
FROM node:17-alpine
|
||||||
|
|
||||||
RUN git clone https://github.com/goerli/netstats-server /netstats-server
|
|
||||||
WORKDIR /netstats-server
|
|
||||||
RUN npm install
|
|
||||||
RUN npm install -g grunt-cli
|
|
||||||
RUN grunt
|
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "start"]
|
||||||
|
|
||||||
|
RUN apk add --no-cache git
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY package.json ./
|
||||||
|
RUN npm i
|
||||||
|
|
||||||
|
COPY . .
|
@ -19,18 +19,17 @@
|
|||||||
"express": "^4.16.4",
|
"express": "^4.16.4",
|
||||||
"geoip-lite": "^1.4.3",
|
"geoip-lite": "^1.4.3",
|
||||||
"grunt": "^1.0.3",
|
"grunt": "^1.0.3",
|
||||||
"grunt-cli": "^1.3.2",
|
|
||||||
"grunt-contrib-clean": "^2.0.0",
|
"grunt-contrib-clean": "^2.0.0",
|
||||||
"grunt-contrib-concat": "^1.0.1",
|
"grunt-contrib-concat": "^1.0.1",
|
||||||
"grunt-contrib-copy": "^1.0.0",
|
"grunt-contrib-copy": "^1.0.0",
|
||||||
"grunt-contrib-cssmin": "^3.0.0",
|
"grunt-contrib-cssmin": "^3.0.0",
|
||||||
"grunt-contrib-pug": "^3.0.0",
|
"grunt-contrib-pug": "^3.0.0",
|
||||||
"grunt-contrib-uglify": "^4.0.0",
|
"grunt-contrib-uglify": "^4.0.0",
|
||||||
"pug": "^3.0.2",
|
|
||||||
"lodash": "4.17.19",
|
"lodash": "4.17.19",
|
||||||
"primus": "^7.3.1",
|
"primus": "^7.3.1",
|
||||||
"primus-emit": "^1.0.0",
|
"primus-emit": "^1.0.0",
|
||||||
"primus-spark-latency": "^0.1.1",
|
"primus-spark-latency": "^0.1.1",
|
||||||
|
"pug": "^3.0.2",
|
||||||
"ws": "^6.1.2"
|
"ws": "^6.1.2"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
@ -54,5 +53,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"license": "LGPL-3.0",
|
"license": "LGPL-3.0",
|
||||||
"devDependencies": {}
|
"devDependencies": {
|
||||||
|
"grunt-cli": "^1.4.3"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
var networkName = 'Ethereum';
|
var networkName = "Kitabu";
|
||||||
var faviconPath = '/favicon.ico';
|
var faviconPath = "/favicon.ico";
|
||||||
|
Loading…
Reference in New Issue
Block a user