Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Optimisation, n/a] update geth (#34)
* updated docs * updated to node 8-alpine and simplified dockerfile * use most recent version of geth
- Loading branch information
Showing
3 changed files
with
21 additions
and
15 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
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 |
---|---|---|
@@ -1,12 +1,15 @@ | ||
FROM node:7 | ||
FROM node:8-alpine | ||
|
||
RUN apk add --update git | ||
|
||
RUN git clone https://github.com/cubedro/eth-netstats | ||
RUN cd /eth-netstats && npm install | ||
RUN cd /eth-netstats && npm install -g grunt-cli | ||
RUN cd /eth-netstats && grunt | ||
|
||
WORKDIR /eth-netstats | ||
|
||
RUN npm install | ||
RUN npm install -g grunt-cli | ||
RUN grunt | ||
|
||
EXPOSE 3000 | ||
|
||
CMD ["npm", "start"] |
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