Merge branch 'docker-image' of github.com:letbetcoin/eth-netstats into tao-staging

This commit is contained in:
5chdn 2018-12-01 19:47:21 +01:00
commit 90c13a472d
No known key found for this signature in database
GPG Key ID: 1A40871B597F5F80

View File

@ -1,9 +1,10 @@
FROM mhart/alpine-node:latest
FROM node
ADD . /eth-netstats
WORKDIR /eth-netstats
RUN npm install && npm install -g grunt-cli && grunt
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
CMD ["npm", "start"]